Formats Server File

This commit is contained in:
2023-10-14 11:05:02 -03:00
parent cb2d7f1986
commit 20ff1da64d

View File

@@ -10,7 +10,7 @@ app.use(cors());
app.use(express.static(`${__dirname}/dist/${PKG_NAME}`));
app.get('/*', (req, res) => {
res.sendFile(path.join(`${__dirname}/dist/${PKG_NAME}/index.html`));
res.sendFile(path.join(`${__dirname}/dist/${PKG_NAME}/index.html`));
});
app.listen(process.env.PORT || 5000);