FrontEnd Angular - v0.0.1-alpha

This commit is contained in:
2022-09-04 04:22:18 -03:00
parent 9640501195
commit 4a0ff02e2a
116 changed files with 27771 additions and 19001 deletions

14
server.js Normal file
View File

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