빌드/배포 경로 변경

This commit is contained in:
Jay Sheen
2025-09-17 10:05:25 +09:00
parent 1615fa3760
commit 7fa0ee4598
8 changed files with 16 additions and 13 deletions

View File

@@ -20,10 +20,10 @@ app.use(
}),
);
app.use(express.static(path.join(__dirname, 'dist')));
app.use(express.static(path.join(__dirname, 'build')));
app.get('*', (req, res) => {
res.sendFile(path.join(__dirname, 'dist', 'index.html'));
res.sendFile(path.join(__dirname, 'build', 'index.html'));
});
app.listen(8089, () => {