🐛 bug fix

This commit is contained in:
Song
2021-01-17 18:14:08 +08:00
parent b82466bc2f
commit 12b684a56f
2 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ router.get('/configure', userRequired, (req, res, next) => {
showPasswordWarning = true;
}
res.locals.message = req.flash('message');
res.locals.showPasswordWarning = true;
res.locals.showPasswordWarning = showPasswordWarning;
res.render('configure', req.session.user);
});
+12
View File
@@ -14,6 +14,18 @@
</div>
</article>
<% }%>
<article class="message is-light">
<div class="message-header">
<p>注意</p>
</div>
<div class="message-body">
如果遇到问题,请仔细阅读 <a target="_blank" href="https://github.com/songquanpeng/message-pusher/blob/master/README.md">README</a>,如果还不能解决,请提 <a target="_blank" href="https://github.com/songquanpeng/message-pusher/issues/new">issue</a>。
<br>
<a target="_blank" href="https://mp.weixin.qq.com/debug/cgi-bin/sandboxinfo?action=showinfo&t=sandbox/index">微信公众平台测试号配置链接</a>。
<br>
如果本项目对你有意义,<a target="_blank" href="https://github.com/songquanpeng/message-pusher">请 ⭐ 该项目</a><del>这是我继续维护的主要动力</del>,谢谢 :)。
</div>
</article>
<form action="/configure" method="post">
<div class="field">
<label class="label">APP ID</label>