tangled
alpha
login
or
join now
openstatus.dev
/
openstatus
6
fork
atom
Openstatus
www.openstatus.dev
6
fork
atom
overview
issues
pulls
pipelines
😱
thibault.tngl.sh
5 months ago
b67cd38d
f4e94d05
+14
-1
1 changed file
expand all
collapse all
unified
split
apps
web
next.config.js
+14
-1
apps/web/next.config.js
···
102
102
{
103
103
type: "host",
104
104
value:
105
105
-
"^(?!.*\\.openstatus\\.dev$)(?!openstatus\\.dev$)(?<domain>.+)$",
105
105
+
"^(?!.*\\.openstatus\\.dev$)(?!openstatus\\.dev$)$",
106
106
},
107
107
],
108
108
destination: "https://www.stpg.dev/:path*",
109
109
+
},
110
110
+
{
111
111
+
source:
112
112
+
"/:path((?!api|assets|_next/static|_next/image|favicon.ico|sitemap.xml|robots.txt).*)",
113
113
+
has: [
114
114
+
{ type: "cookie", key: "sp_mode", value: "new" },
115
115
+
{
116
116
+
type: "host",
117
117
+
value:
118
118
+
"^(?<domain>.+)$",
119
119
+
},
120
120
+
],
121
121
+
destination: "https://www.stpg.dev/:domain*",
109
122
},
110
123
// Handle API routes for custom domains
111
124
{