Skip to content
This repository was archived by the owner on Jul 2, 2024. It is now read-only.

Commit b81d623

Browse files
committed
Try fixing prod redirection issues
1 parent 111ca71 commit b81d623

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

data/notion_migration.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# - 'source': URL path to redirect, as currently visible on handbook.sourcegraph.com
33
# - 'destination': New URL top direct to. If a public 'sourcegraph.notion.site' page is available, prefer that instead of the internal Notion URL.
44
redirections:
5-
- source: /departments/engineering/teams/devinfra
5+
- source: /departments/engineering/teams/devinfra/
66
destination: https://sourcegraph.notion.site/Developer-Infrastructure-Team-a46433b93bb2445abc1966c93a570a26
77
# Core Services
88
- source: /departments/engineering/teams/core-services/

src/scripts/redirects.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,8 @@ export default async function redirects() {
4646
const movedPages = await getMovedPagesFromHistory()
4747
const notionRedirections = await readNotionMigrationRedirects()
4848
return cleanupRedirects([
49-
...movedPages,
5049
...notionRedirections.redirections,
51-
50+
...movedPages,
5251
// Add custom redirects
5352
{
5453
source: '/careers',

0 commit comments

Comments
 (0)