chore: Upgrade koa- dependencies (#3761)

This commit is contained in:
Tom Moor
2022-07-09 19:23:42 +02:00
committed by GitHub
parent 8bb88b8550
commit 35e82beaf7
3 changed files with 78 additions and 190 deletions

View File

@@ -40,7 +40,6 @@ export default function init(app: Koa = new Koa()): Koa {
if (env.FORCE_HTTPS) {
app.use(
enforceHttps({
// @ts-expect-error ts-migrate(2345) FIXME: Argument of type '{ trustProtoHeader: boolean; }' ... Remove this comment to see the full error message
trustProtoHeader: true,
})
);