diff options
| author | ST-DDT <[email protected]> | 2022-11-10 17:39:11 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-11-10 16:39:11 +0000 |
| commit | 680919495b5662bd3b2e73527392e2ba0a4c8d56 (patch) | |
| tree | f2d84495a0bb881d8f6a005ff06d36cd770cb32e /netlify.toml | |
| parent | ded5df3c62eefa2c9a703d399c503738de496808 (diff) | |
| download | faker-680919495b5662bd3b2e73527392e2ba0a4c8d56.tar.xz faker-680919495b5662bd3b2e73527392e2ba0a4c8d56.zip | |
infra: update website redirects (next) (#1523)
Diffstat (limited to 'netlify.toml')
| -rw-r--r-- | netlify.toml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/netlify.toml b/netlify.toml index 02730842..28fcee02 100644 --- a/netlify.toml +++ b/netlify.toml @@ -6,6 +6,20 @@ publish = "docs/.vitepress/dist" command = "pnpm docs:build:ci" +# Alias for the main page +[[redirects]] + from = "https://v8.fakerjs.dev" + to = "https://fakerjs.dev" + status = 302 + force = true + +# Alias for the next page +[[redirects]] + from = "https://v9.fakerjs.dev" + to = "https://next.fakerjs.dev" + status = 302 + force = true + # Redirect to Discord server [[redirects]] from = "https://chat.fakerjs.dev" @@ -13,8 +27,20 @@ status = 301 force = true +[[redirects]] + from = "/chat" + to = "https://discord.gg/faker-js" + status = 301 + force = true + # Redirect to StackBlitz playground [[redirects]] + from = "https://new.fakerjs.dev" + to = "https://stackblitz.com/edit/faker-js-demo?file=index.ts" + status = 301 + force = true + +[[redirects]] from = "/new" to = "https://stackblitz.com/edit/faker-js-demo?file=index.ts" status = 301 |
