Skip to content

Commit

Permalink
Added basic routes and logic for backend
Browse files Browse the repository at this point in the history
  • Loading branch information
kouacc committed Jul 24, 2024
1 parent abfbdae commit adafbb8
Show file tree
Hide file tree
Showing 8 changed files with 941 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
backend/access.log
backend/access.log
.env
2 changes: 1 addition & 1 deletion backend/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const limiter = rateLimit({

app.use(limiter);

app.get("*", (req, res) => {
app.get("*", (req:any, res:any) => {
res.sendFile(path.join(__dirname, "public/dist/index.html"));
});

Expand Down
Loading

0 comments on commit adafbb8

Please sign in to comment.