feat: add message board

This commit is contained in:
Jad 2020-08-09 16:18:18 +00:00
parent e16d9e0a04
commit 5ba2c86092
4 changed files with 6 additions and 1 deletions

BIN
count.db

Binary file not shown.

View File

@ -51,6 +51,9 @@ app.get('/get/@:name', async (req, res) => {
})
if (name === 'demo') {
res.set({
'cache-control': 'max-age=31536000'
})
num = '0123456789'
length = 10

View File

@ -8,7 +8,7 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"author": "journey-ad",
"license": "MIT",
"dependencies": {
"compression": "^1.7.4",

View File

@ -74,5 +74,7 @@ html
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
a(href='https://repl.it/@journeyad/kawaii-counter') source code