Skip to content

Commit

Permalink
fix: content compress conflict with http secure
Browse files Browse the repository at this point in the history
  • Loading branch information
YuJianghao committed Apr 13, 2022
1 parent 3111c5f commit 7775e17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/src/server/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ app.use(
enableTypes: ["json", "form", "text"],
})
)
app.use(compress())
app.use(httpSecure())
app.use(logger())

app.use(compress())
app.use(mount("/", statics))

app.use(auth.router.routes())
Expand Down

0 comments on commit 7775e17

Please sign in to comment.