Update app.js

This commit is contained in:
甬哥侃侃侃ygkkk
2025-02-01 20:33:55 +08:00
committed by GitHub
parent f87830665d
commit 8f9465ffbf
+1 -1
View File
@@ -19,7 +19,7 @@ function runCustomCommand() {
setInterval(runCustomCommand, 3 * 60 * 1000); // 3 分钟 = 3 * 60 * 1000 毫秒
app.get("/up", function (req, res) {
runCustomCommand();
res.type("html").send("<pre>Serv00网页保活启动:Serv00UPUPUP</pre>");
res.type("html").send("<pre>Serv00-name服务器网页保活启动:Serv00-nameUPUPUP</pre>");
});
app.use((req, res, next) => {
if (req.path === '/up') {