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