docbrown/docs/netlify.toml

22 lines
636 B
TOML

# Global settings applied to the whole site.
#
# “publish” is the directory to publish (relative to root of your repo),
# “command” is your build command,
# “base” is directory to change to before starting build. if you set base:
# that is where we will look for package.json/.nvmrc/etc not repo root!
[build]
command = "make"
# See <https://docs.netlify.com/routing/redirects/redirect-options/> for more options
[[redirects]]
from = "http://docs.dev.to"
to = "http://docs.forem.com"
status = 301
force = true
[[redirects]]
from = "http://docs.dev.to/*"
to = "http://docs.forem.com/:splat"
status = 301
force = true