mirror of https://github.com/AMT-Cheif/drift.git
35 lines
688 B
TOML
35 lines
688 B
TOML
# We use netlify to deploy the documentation.
|
|
|
|
[build]
|
|
publish = "docs/deploy"
|
|
|
|
[[redirects]]
|
|
from = "https://moor.netlify.app/*"
|
|
to = "https://drift.simonbinder.eu/:splat"
|
|
status = 301
|
|
force = true
|
|
|
|
[[redirects]]
|
|
from = "https://moor.simonbinder.eu/*"
|
|
to = "https://drift.simonbinder.eu/:splat"
|
|
status = 301
|
|
force = true
|
|
|
|
[[redirects]]
|
|
from = "/name"
|
|
to = "/docs/upgrading/#name"
|
|
status = 301
|
|
force = true
|
|
|
|
[[headers]]
|
|
for = "/*"
|
|
[headers.values]
|
|
Cross-Origin-Opener-Policy = "same-origin"
|
|
Cross-Origin-Embedder-Policy = "require-corp"
|
|
|
|
[context.production]
|
|
environment = { BUILD_RELEASE="release" }
|
|
|
|
[context.deploy-preview]
|
|
environment = { }
|