fix: 补加秋秋服务根路由 GET /,push 到 main 分支
Agent-Logs-Url: https://github.com/zhizhi200271/guanghulab/sessions/9338ccae-d006-4c20-9e7f-5c3a98b4ec8a Co-authored-by: zhizhi200271 <265950299+zhizhi200271@users.noreply.github.com>
This commit is contained in:
parent
ded9b3a30e
commit
a73c4afd1f
|
|
@ -101,6 +101,10 @@ app.get('/dashboard-v2', (req, res) => {
|
||||||
res.sendFile(path.join(__dirname, 'public', 'dashboard-v2.html'));
|
res.sendFile(path.join(__dirname, 'public', 'dashboard-v2.html'));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
app.get('/', (req, res) => {
|
||||||
|
res.send('🍂 秋秋的家 · 只属于妈妈和秋秋');
|
||||||
|
});
|
||||||
|
|
||||||
// 启动服务器
|
// 启动服务器
|
||||||
app.listen(PORT, () => {
|
app.listen(PORT, () => {
|
||||||
console.log(`\n🚀 Phase4 服务器已启动!`);
|
console.log(`\n🚀 Phase4 服务器已启动!`);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue