diff --git a/count.db b/count.db index 4eb4184..d4dc6af 100644 Binary files a/count.db and b/count.db differ diff --git a/index.js b/index.js index c46d9fd..7f20e1d 100644 --- a/index.js +++ b/index.js @@ -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 diff --git a/package.json b/package.json index 576ca91..c50fe41 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [], - "author": "", + "author": "journey-ad", "license": "MIT", "dependencies": { "compression": "^1.7.4", diff --git a/views/index.pug b/views/index.pug index e6c62cf..1908114 100644 --- a/views/index.pug +++ b/views/index.pug @@ -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 \ No newline at end of file