diff --git a/apps/web/next.config.ts b/apps/web/next.config.ts index cf27cb8d..0c94cd36 100644 --- a/apps/web/next.config.ts +++ b/apps/web/next.config.ts @@ -33,7 +33,7 @@ const homepageLinkHeader = [ '; rel="api-catalog"; type="application/linkset+json"', '; rel="agent-skills"; type="application/json"', '; rel="mcp-server"; type="application/json"', - '; rel="service-doc"; type="text/html"', + '; rel="service-doc"; type="text/html"', '; rel="service-desc"; type="application/json"', '; rel="describedby"; type="text/plain"', '; rel="alternate"; type="text/plain"; title="llms-full"', @@ -99,6 +99,12 @@ const nextConfig: NextConfig = { }, async redirects() { return [ + { + source: "/:path*", + has: [{ type: "host", value: "docs.openstatus.dev" }], + destination: "https://www.openstatus.dev/docs/:path*", + permanent: true, + }, { source: "/legal/terms", destination: "/terms",