Skip to content

Commit

Permalink
Attempt CORS Fix v3
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Hadley <[email protected]>
  • Loading branch information
ahadley1124 committed Dec 18, 2023
1 parent 75bfcf3 commit a8836c1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ async function start() {
}
start();

app.options("*", cors());

app.get("/", (req, res) => {
res.send("Hello World");
});
Expand Down

0 comments on commit a8836c1

Please sign in to comment.