Openstatus www.openstatus.dev

chore: app subdomain rewrites (#1113)

* chore: app subdomain rewrites

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

authored by

Maximilian Kaske
autofix-ci[bot]
and committed by
GitHub
8dd350bc 403afa93

+16
+16
apps/web/next.config.js
··· 64 64 async headers() { 65 65 return [{ source: "/(.*)", headers: securityHeaders }]; 66 66 }, 67 + async rewrites() { 68 + return { 69 + beforeFiles: [ 70 + { 71 + source: "/:path*", 72 + has: [ 73 + { 74 + type: "host", 75 + value: "app.openstatus.dev", 76 + }, 77 + ], 78 + destination: "/app/:path*", 79 + }, 80 + ], 81 + }; 82 + }, 67 83 }; 68 84 69 85 module.exports = withSentryConfig(