Skip to content

Commit

Permalink
Promote landing page to index route
Browse files Browse the repository at this point in the history
  • Loading branch information
colepeters committed May 6, 2024
1 parent bfec167 commit e43cf42
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 21 deletions.
2 changes: 1 addition & 1 deletion app.arc
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ profile openjsf
fingerprint true

@http
get /
get /docs/:lang/*
get /api/package
any /*
get /landing

@plugins
spellcheck
Expand Down
File renamed without changes.
37 changes: 17 additions & 20 deletions src/shared/redirect-map.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,43 +2,40 @@ export const currentRoot = '/docs/en/get-started/quickstart'

// these are soft redirects, not forever/canonical
export const tempRedirects = {
// tmp until marketing landing page work done
'/': currentRoot,

// Canonical pragma paths
'/app': '/docs/en/reference/project-manifest/app',
'/app': '/docs/en/reference/project-manifest/app',
'/@app': '/docs/en/reference/project-manifest/app',
'/aws': '/docs/en/reference/project-manifest/aws',
'/aws': '/docs/en/reference/project-manifest/aws',
'/@aws': '/docs/en/reference/project-manifest/aws',
'/events': '/docs/en/reference/project-manifest/events',
'/events': '/docs/en/reference/project-manifest/events',
'/@events': '/docs/en/reference/project-manifest/events',
'/http': '/docs/en/reference/project-manifest/http',
'/http': '/docs/en/reference/project-manifest/http',
'/@http': '/docs/en/reference/project-manifest/http',
'/indexes': '/docs/en/reference/project-manifest/tables-indexes',
'/indexes': '/docs/en/reference/project-manifest/tables-indexes',
'/@indexes': '/docs/en/reference/project-manifest/tables-indexes',
'/macros': '/docs/en/reference/project-manifest/macros',
'/macros': '/docs/en/reference/project-manifest/macros',
'/@macros': '/docs/en/reference/project-manifest/macros',
'/plugins': '/docs/en/reference/project-manifest/plugins',
'/plugins': '/docs/en/reference/project-manifest/plugins',
'/@plugins': '/docs/en/reference/project-manifest/plugins',
'/proxy': '/docs/en/reference/project-manifest/proxy',
'/proxy': '/docs/en/reference/project-manifest/proxy',
'/@proxy': '/docs/en/reference/project-manifest/proxy',
'/queues': '/docs/en/reference/project-manifest/queues',
'/queues': '/docs/en/reference/project-manifest/queues',
'/@queues': '/docs/en/reference/project-manifest/queues',
'/scheduled': '/docs/en/reference/project-manifest/scheduled',
'/scheduled': '/docs/en/reference/project-manifest/scheduled',
'/@scheduled': '/docs/en/reference/project-manifest/scheduled',
'/shared': '/docs/en/reference/project-manifest/shared',
'/shared': '/docs/en/reference/project-manifest/shared',
'/@shared': '/docs/en/reference/project-manifest/shared',
'/static': '/docs/en/reference/project-manifest/static',
'/static': '/docs/en/reference/project-manifest/static',
'/@static': '/docs/en/reference/project-manifest/static',
'/tables': '/docs/en/reference/project-manifest/tables',
'/tables': '/docs/en/reference/project-manifest/tables',
'/@tables': '/docs/en/reference/project-manifest/tables',
'/tables-indexes': '/docs/en/reference/project-manifest/tables-indexes',
'/tables-indexes': '/docs/en/reference/project-manifest/tables-indexes',
'/@tables-indexes': '/docs/en/reference/project-manifest/tables-indexes',
'/tables-streams': '/docs/en/reference/project-manifest/tables-streams',
'/tables-streams': '/docs/en/reference/project-manifest/tables-streams',
'/@tables-streams': '/docs/en/reference/project-manifest/tables-streams',
'/views': '/docs/en/reference/project-manifest/views',
'/views': '/docs/en/reference/project-manifest/views',
'/@views': '/docs/en/reference/project-manifest/views',
'/ws': '/docs/en/reference/project-manifest/ws',
'/ws': '/docs/en/reference/project-manifest/ws',
'/@ws': '/docs/en/reference/project-manifest/ws',

// Runtimes
Expand Down

0 comments on commit e43cf42

Please sign in to comment.