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

Commit

Permalink
Try fixing prod redirection issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jhchabran committed Jun 20, 2024
1 parent 111ca71 commit b81d623
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data/notion_migration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# - 'source': URL path to redirect, as currently visible on handbook.sourcegraph.com
# - 'destination': New URL top direct to. If a public 'sourcegraph.notion.site' page is available, prefer that instead of the internal Notion URL.
redirections:
- source: /departments/engineering/teams/devinfra
- source: /departments/engineering/teams/devinfra/
destination: https://sourcegraph.notion.site/Developer-Infrastructure-Team-a46433b93bb2445abc1966c93a570a26
# Core Services
- source: /departments/engineering/teams/core-services/
Expand Down
3 changes: 1 addition & 2 deletions src/scripts/redirects.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,8 @@ export default async function redirects() {
const movedPages = await getMovedPagesFromHistory()
const notionRedirections = await readNotionMigrationRedirects()
return cleanupRedirects([
...movedPages,
...notionRedirections.redirections,

...movedPages,
// Add custom redirects
{
source: '/careers',
Expand Down

0 comments on commit b81d623

Please sign in to comment.