Skip to content

Commit d47ee02

Browse files
authored
fix: redirect vercel URL to production URL (#2371)
Permanent should be set to true once this is confirmed on production.
1 parent 1437812 commit d47ee02

File tree

1 file changed

+7
-19
lines changed

1 file changed

+7
-19
lines changed

vercel.json

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,17 @@
77
"redirects": [
88
{
99
"source": "/",
10-
"destination": "https://www.ory.com/docs",
11-
"has": [
12-
{
13-
"type": "header",
14-
"key": "host",
15-
"value": "docs-omega-six.vercel.app"
16-
}
17-
],
10+
"destination": "/docs",
1811
"permanent": false
1912
},
2013
{
2114
"source": "/docs(/|)",
22-
"destination": "https://www.ory.com/docs/welcome",
15+
"destination": "/docs/welcome",
16+
"permanent": false
17+
},
18+
{
19+
"source": "/docs/:path*",
20+
"destination": "https://www.ory.com/docs/:path",
2321
"has": [
2422
{
2523
"type": "header",
@@ -29,16 +27,6 @@
2927
],
3028
"permanent": false
3129
},
32-
{
33-
"source": "/",
34-
"destination": "/docs",
35-
"permanent": false
36-
},
37-
{
38-
"source": "/docs(/|)",
39-
"destination": "/docs/welcome",
40-
"permanent": false
41-
},
4230
{
4331
"source": "/keto/docs/(|v0.5/)engines",
4432
"destination": "https://github.com/ory/keto/blob/v0.7.0-alpha.1/docs/versioned_docs/version-v0.5/engines/index.md",

0 commit comments

Comments
 (0)