deployment setup

This commit is contained in:
2026-03-19 17:47:37 +00:00
parent d15980bb52
commit b4add42f2e
3 changed files with 7 additions and 4 deletions

1
backend/.gitignore vendored
View File

@@ -25,3 +25,4 @@ dist-ssr
adduser.sql
database.db

Binary file not shown.

View File

@@ -47,9 +47,11 @@ app.use(cors());
app.use(e.json());
app.use(bodyParser.json());
app.get('/', (req, res) => {
res.send("Nothing Here");
});
// app.get('/', (req, res) => {
// res.send("Nothing Here");
// });
app.use('/', e.static('../frontend/dist'));
app.get('/getPeriod', (req, res) => {
// req has nothing