forked from GoogleCloudPlatform/nodejs-docs-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.pug
More file actions
27 lines (26 loc) · 675 Bytes
/
index.pug
File metadata and controls
27 lines (26 loc) · 675 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
doctype html
html(lang='en')
head
title PubSub
meta(charset='utf-8')
body
p Bearer tokens received by this instance:
ul
each val in tokens
li= val
p Claims received by this instance:
ul
each val in claims
li
code!= JSON.stringify(val)
p Messages received by this instance:
ul
each val in messages
li= val
p
small.
Note: because your application is likely running multiple instances,
each instance will have a different list of messages.
form(method='post')
textarea(name='payload', placeholder='Enter message here.')
button(type='submit') Send