完成Action导航栏的链接搭建,修复了登出的一些小bug

This commit is contained in:
2023-12-17 00:41:59 +00:00
parent 0d6943214e
commit 09edd8de81
6 changed files with 256 additions and 8 deletions

View File

@ -169,6 +169,10 @@ app.get('/passwd', (req, res) => {
res.sendFile(join(__dirname, 'passwd.html'));
});
app.get('/admin', (req, res) => {
res.sendFile(join(__dirname, 'admin.html'));
});
server.listen(3000, () => {
console.log('server running at http://localhost:3000');
});