Files
artcraft/netlify.toml
T

27 lines
805 B
TOML

# Hide sourcemaps in production
[context.production]
environment = { GENERATE_SOURCEMAP = "false" }
[build.environment]
# 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"
# https://www.getzola.org/documentation/deployment/netlify/
ZOLA_VERSION = "0.19.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