Skip to content

Open-source status page, incident response and uptime monitoring

fix: remove trailing slash (#1377)

Maximilian Kaske5b6d153fdd37
diff --git a/apps/web/next.config.js b/apps/web/next.config.js
index 62a6d84de..48349f4a4 100644
--- a/apps/web/next.config.js
+++ b/apps/web/next.config.js
@@ -45,7 +45,6 @@ const nextConfig = {
async headers() {
return [{ source: "/(.*)", headers: securityHeaders }];
},
- trailingSlash: true,
async redirects() {
return [
{
@@ -68,17 +67,6 @@ const nextConfig = {
async rewrites() {
return {
beforeFiles: [
- // Proxy app subdomain to /app
- {
- source: "/:path*",
- has: [
- {
- type: "host",
- value: "app.openstatus.dev",
- },
- ],
- destination: "/app/:path*",
- },
// New design: proxy app routes to external host with slug prefix
{
source: "/:path*",