完成UI的基本框架设计

This commit is contained in:
2023-12-16 04:38:43 +00:00
parent 2add648b32
commit 76952cc393
3 changed files with 210 additions and 11 deletions

View File

@ -154,6 +154,10 @@ backend.on('exit', (code, signal) => {
process.exit(0);
});
app.get('/login', (req, res) => {
res.sendFile(join(__dirname, 'login.html'));
});
server.listen(3000, () => {
console.log('server running at http://localhost:3000');
});