完成Action导航栏的链接搭建,修复了登出的一些小bug
This commit is contained in:
@ -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');
|
||||
});
|
Reference in New Issue
Block a user