diff --git a/server/index.ts b/server/index.ts index f9370d9d..2ae82dd7 100644 --- a/server/index.ts +++ b/server/index.ts @@ -10,10 +10,10 @@ const BUILD_DIR = path.join(process.cwd(), "build") const app = express() -app.use(setFlyRegionHeader) - app.all("*", getReplayResponse) +app.use(setFlyRegionHeader) + app.use(compression()) // http://expressjs.com/en/advanced/best-practice-security.html#at-a-minimum-disable-x-powered-by-header