feat: add message board
This commit is contained in:
parent
e16d9e0a04
commit
5ba2c86092
3
index.js
3
index.js
@ -51,6 +51,9 @@ app.get('/get/@:name', async (req, res) => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
if (name === 'demo') {
|
if (name === 'demo') {
|
||||||
|
res.set({
|
||||||
|
'cache-control': 'max-age=31536000'
|
||||||
|
})
|
||||||
num = '0123456789'
|
num = '0123456789'
|
||||||
length = 10
|
length = 10
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "",
|
"author": "journey-ad",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"compression": "^1.7.4",
|
"compression": "^1.7.4",
|
||||||
|
@ -74,5 +74,7 @@ html
|
|||||||
img.src = 'https://count.getloli.com/get/@' + text + '?theme=' + theme
|
img.src = 'https://count.getloli.com/get/@' + text + '?theme=' + theme
|
||||||
})
|
})
|
||||||
|
|
||||||
|
iframe(src="https://chat.getloli.com/room/@kawaii-counter?title=%E5%8F%AF%E7%88%B1%E7%9A%84%E8%AE%A1%E6%95%B0%E5%99%A8%E7%9A%84%E7%95%99%E8%A8%80%E6%9D%BF", scrolling="no", frameborder="0", height="70%", width="26%", style="position: fixed;top: 2%;right: 5%;")
|
||||||
|
|
||||||
p.copy
|
p.copy
|
||||||
a(href='https://repl.it/@journeyad/kawaii-counter') source code
|
a(href='https://repl.it/@journeyad/kawaii-counter') source code
|
Loading…
Reference in New Issue
Block a user