Skip to content

Commit

Permalink
fix: status cors
Browse files Browse the repository at this point in the history
  • Loading branch information
2fd committed Mar 1, 2023
1 parent 3f42a1f commit 54ea963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ const app = express()
app.set("x-powered-by", false)
app.use(withLogs())
app.use("/api", [
status(),
withCors(),
withDDosProtection(),
withBody(),
status(),
categories,
events,
poster,
Expand Down

0 comments on commit 54ea963

Please sign in to comment.