Skip to content

Open-source status page, incident response and uptime monitoring

fix: markdown catch-all route (#1855)

Maximilian Kaskedf4d5b84fd08
diff --git a/apps/web/next.config.ts b/apps/web/next.config.ts
index 935fc37ea..0f06ad446 100644
--- a/apps/web/next.config.ts
+++ b/apps/web/next.config.ts
@@ -224,7 +224,7 @@ const nextConfig: NextConfig = {
{
type: "header",
key: "accept",
- value: ".*text/markdown.*",
+ value: "(.*)text/markdown(.*)",
},
],
},
diff --git a/apps/web/src/app/api/markdown/[...path]/route.ts b/apps/web/src/app/api/markdown/[[...path]]/route.ts
similarity index 100%
rename from apps/web/src/app/api/markdown/[...path]/route.ts
rename to apps/web/src/app/api/markdown/[[...path]]/route.ts