This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/website/netlify.toml

29 lines
509 B
TOML
Raw Permalink Normal View History

[build]
publish = "build/"
command = "yarn build"
environment = { NODE_VERSION = "16.13.1" }
[context.production]
ignore = "false"
[context.deploy-preview]
ignore = "false"
[[redirects]]
# Embargoes compliance. DO NOT REMOVE
conditions = {Country = ["CU", "IR", "KP", "SY", "UA"]}
from = "/*"
to = "/restricted"
status = 302
force = true
[[redirects]]
from = "/t"
to = "https://api.amplitude.com"
status = 200
[[redirects]]
from = "/reference"
to = "/reference/alpine"
status = 302