Merge pull request #3 from zhizhi200271/copilot/fix-add-autumn-home-route

fix: add root route GET / to server.js
This commit is contained in:
zhizhi200271 2026-04-27 21:19:52 +08:00 committed by GitHub
commit 031a82683b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -101,6 +101,10 @@ app.get('/dashboard-v2', (req, res) => {
res.sendFile(path.join(__dirname, 'public', 'dashboard-v2.html'));
});
app.get('/', (req, res) => {
res.send('🍂 秋秋的家 · 只属于妈妈和秋秋');
});
// 启动服务器
app.listen(PORT, () => {
console.log(`\n🚀 Phase4 服务器已启动!`);