🎉 you won't receive message when somebody visit this

This commit is contained in:
Song
2021-01-14 21:10:23 +08:00
parent f75f41de06
commit 1389177bcb
+5 -5
View File
@@ -11,11 +11,11 @@ router.all("/", (req, res, next) => {
res.render("message", { res.render("message", {
message: "服务已在运行,本次访问已被记录。", message: "服务已在运行,本次访问已被记录。",
}); });
pushMessage( // pushMessage(
req, // req,
res, // res,
`请注意,ip 地址为 ${req.ip} 的用户访问了你的消息通知服务,如果非你本人,则你的私有消息通知服务可能已被泄露,当前版本无法阻止其他用户通过本系统向你发送消息。` // `请注意,ip 地址为 ${req.ip} 的用户访问了你的消息通知服务,如果非你本人,则你的私有消息通知服务可能已被泄露,当前版本无法阻止其他用户通过本系统向你发送消息。`
); // );
}) })
.catch(() => { .catch(() => {
res.render("configure"); res.render("configure");