Openstatus www.openstatus.dev

😱

+14 -1
+14 -1
apps/web/next.config.js
··· 102 102 { 103 103 type: "host", 104 104 value: 105 - "^(?!.*\\.openstatus\\.dev$)(?!openstatus\\.dev$)(?<domain>.+)$", 105 + "^(?!.*\\.openstatus\\.dev$)(?!openstatus\\.dev$)$", 106 106 }, 107 107 ], 108 108 destination: "https://www.stpg.dev/:path*", 109 + }, 110 + { 111 + source: 112 + "/:path((?!api|assets|_next/static|_next/image|favicon.ico|sitemap.xml|robots.txt).*)", 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*", 109 122 }, 110 123 // Handle API routes for custom domains 111 124 {