diff --git a/apps/web/next.config.js b/apps/web/next.config.js index e5ffaf80..e9ed9829 100644 --- a/apps/web/next.config.js +++ b/apps/web/next.config.js @@ -64,6 +64,22 @@ const nextConfig = { async headers() { return [{ source: "/(.*)", headers: securityHeaders }]; }, + async rewrites() { + return { + beforeFiles: [ + { + source: "/:path*", + has: [ + { + type: "host", + value: "app.openstatus.dev", + }, + ], + destination: "/app/:path*", + }, + ], + }; + }, }; module.exports = withSentryConfig(