Skip to content

Commit

Permalink
fix SPA
Browse files Browse the repository at this point in the history
  • Loading branch information
tjhorner committed Sep 22, 2024
1 parent 318b19e commit c0eeb17
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/backend/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ async function bootstrap() {
etag: true,
gzip: true,
brotli: true,
single: true,
ignores: ["/api/*"],
setHeaders: (res, pathname) => {
if (
pathname.startsWith(`/_app/immutable`) &&
Expand Down

0 comments on commit c0eeb17

Please sign in to comment.