diff --git a/backend/.gitignore b/backend/.gitignore index 414fd07..bb52864 100644 --- a/backend/.gitignore +++ b/backend/.gitignore @@ -24,4 +24,5 @@ dist-ssr *.sw? -adduser.sql \ No newline at end of file +adduser.sql +database.db \ No newline at end of file diff --git a/backend/database.db b/backend/database.db deleted file mode 100644 index 6e46152..0000000 Binary files a/backend/database.db and /dev/null differ diff --git a/backend/index.js b/backend/index.js index 6da81b4..e97ef0f 100644 --- a/backend/index.js +++ b/backend/index.js @@ -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