Skip to content

Commit

Permalink
mend
Browse files Browse the repository at this point in the history
  • Loading branch information
LordFarquaadtheCreator committed Jun 12, 2024
1 parent 161154f commit 22247a2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,7 @@ setInterval(async () => {
logger.info(`Database is ${dbAval ? "available" : "not available"}`);
}, INTERVAL);

// app.use(cors( // TODO: do this correctly
// "byteccny",
// "localhost:3000";
// ));
app.use(cors());
app.use((req: any, res: any, next: any) => {
logger.info(`Received a ${req.method} request for ${req.url}`);
next();
Expand Down

0 comments on commit 22247a2

Please sign in to comment.