From 2e00cb58c23b8aff9a0dc790612ff53cf5fb35b5 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Sat, 4 Mar 2023 20:47:41 -0500 Subject: [PATCH] redirect storyteller.io to storyteller.ai --- netlify.toml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/netlify.toml b/netlify.toml index 311136e7d9..dbc8b48f13 100644 --- a/netlify.toml +++ b/netlify.toml @@ -6,4 +6,18 @@ environment = { GENERATE_SOURCEMAP = "false" } # NB: We updated yarn locally with `yarn set version berry`, and this was done to pick up # the ability to pull fontawesome pro from their private registry. Prior to this we were # using yarn 1.x. -YARN_VERSION = "3.3.1" \ No newline at end of file +YARN_VERSION = "3.3.1" + +[[redirects]] +# NB: storyteller.ai replaces storyteller.io +from = "https://storyteller.io/*" +to = "https://storyteller.ai/:splat?from=storyteller.io" +status = 301 +force = true + +[[redirects]] +# NB: storyteller.ai replaces storyteller.io +from = "https://staging.storyteller.io/*" +to = "https://staging.storyteller.ai/:splat?from=staging.storyteller.io" +status = 301 +force = true