Skip to content

Commit 1275c4f

Browse files
Merge pull request #13 from makeplane/minor-edits
Added rewrites
2 parents 63663d0 + 1376e31 commit 1275c4f

File tree

2 files changed

+15
-8
lines changed

2 files changed

+15
-8
lines changed

sidebars.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ const sidebars: SidebarsConfig = {
124124
{
125125
type: 'link',
126126
label: 'Webhooks',
127-
href: 'https://developers.plane.so//webhooks/intro-webhooks',
127+
href: 'https://developers.plane.so/webhooks/intro-webhooks',
128128
},
129129
],
130130
};

vercel.json

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@
160160
},
161161
{
162162
"source": "/plane-one/governance/authentication/workspaces-and-teams",
163-
"destination": "https://developers.plane.so/plane-one/governance/workspaces-and-teams"
163+
"destination": "/plane-one/governance/workspaces-and-teams"
164164
},
165165
{
166166
"source": "/plane-one/self-host/methods/one-command",
@@ -193,18 +193,25 @@
193193
{
194194
"source": "/plane-one/governance/authentication/custom-sso",
195195
"destination": "/self-hosting/govern/authentication"
196-
},
196+
}
197+
],
198+
199+
"rewrites": [
197200
{
198201
"source": "/self-hosting/:path*",
199-
"destination": "https://developers.plane.so/self-hosting/"
202+
"destination": "https://developers.plane.so/self-hosting/:path*"
200203
},
201204
{
202205
"source": "/api-reference/:path*",
203-
"destination": "https://developers.plane.so/api-reference/"
206+
"destination": "https://developers.plane.so/api-reference/:path*"
204207
},
205208
{
206209
"source": "/webhooks/:path*",
207-
"destination": "https://developers.plane.so/webhooks/"
210+
"destination": "https://developers.plane.so/webhooks/:path*"
211+
},
212+
{
213+
"source": "/plane-one/governance/workspaces-and-teams",
214+
"destination": "https://developers.plane.so/plane-one/governance/workspaces-and-teams"
208215
}
209-
]
210-
}
216+
]
217+
}

0 commit comments

Comments
 (0)