完成注册页面

This commit is contained in:
2023-12-16 08:40:03 +00:00
parent 69e91157df
commit f1c95ea987
4 changed files with 269 additions and 2 deletions

View File

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