빌드/배포 경로 변경
This commit is contained in:
@@ -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, () => {
|
||||
|
||||
Reference in New Issue
Block a user