Changing Default Project Settings

This commit is contained in:
2023-07-30 23:55:40 -03:00
parent 18d9316d8b
commit 5069159d50
3 changed files with 5 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
const express = require('express');
var cors = require('cors');
const cors = require('cors');
const path = require('path');
const PKG_NAME = "frontend-hideyoshi.com";
@@ -13,4 +13,4 @@ app.get('/*', (req, res) => {
res.sendFile(path.join(`${__dirname}/dist/${PKG_NAME}/index.html`));
});
app.listen(process.env.PORT || 5000);
app.listen(process.env.PORT || 5000);