Openstatus www.openstatus.dev

๐Ÿ˜‚

+14 -1
+14 -1
apps/web/next.config.js
··· 109 109 }, 110 110 { 111 111 source: 112 + "/:path((?!api|assets|_next/static|_next/image|favicon.ico|sitemap.xml|robots.txt|events|monitors).*)", 113 + has: [ 114 + { type: "cookie", key: "sp_mode", value: "new" }, 115 + { 116 + type: "host", 117 + value: 118 + "^(?<domain>.+)$", 119 + }, 120 + ], 121 + destination: "https://www.stpg.dev/:domain*", 122 + }, 123 + { 124 + source: 112 125 "/:path((?!api|assets|_next/static|_next/image|favicon.ico|sitemap.xml|robots.txt).*)", 113 126 has: [ 114 127 { type: "cookie", key: "sp_mode", value: "new" }, ··· 118 131 "^(?<domain>.+)$", 119 132 }, 120 133 ], 121 - destination: "https://www.stpg.dev/:domain*", 134 + destination: "https://www.stpg.dev/:domain/:path*", 122 135 }, 123 136 // Handle API routes for custom domains 124 137 {