Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkR87 committed Sep 25, 2024
1 parent fb36f3e commit 9547098
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export function createApp(
const corsOptions = config.cors;
app.use(cors(corsOptions));

// @ts-expect-error Express struggles with its types here, compression seems to be too old
app.use(compression());

app.use(
Expand Down
3 changes: 1 addition & 2 deletions src/test/content-type-checker.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ const mockRequest =

// @ts-expect-error (It's not a real request)
return {
header: (name: string) =>
headers[name.toLowerCase()],
header: (name: string) => headers[name.toLowerCase()],
headers,
};
};
Expand Down

0 comments on commit 9547098

Please sign in to comment.