2019-08-17 12:31:30 -07:00
|
|
|
# We use netlify to deploy the documentation.
|
|
|
|
|
|
|
|
[build]
|
2021-03-12 12:14:45 -08:00
|
|
|
publish = "docs/deploy"
|
2019-08-17 12:31:30 -07:00
|
|
|
|
|
|
|
[[redirects]]
|
2021-03-12 12:14:45 -08:00
|
|
|
from = "https://moor.netlify.app/*"
|
2021-10-12 05:26:53 -07:00
|
|
|
to = "https://drift.simonbinder.eu/:splat"
|
|
|
|
status = 301
|
|
|
|
force = true
|
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = "https://moor.simonbinder.eu/*"
|
|
|
|
to = "https://drift.simonbinder.eu/:splat"
|
2019-08-17 12:31:30 -07:00
|
|
|
status = 301
|
2019-10-27 08:59:08 -07:00
|
|
|
force = true
|
|
|
|
|
2022-08-13 05:18:17 -07:00
|
|
|
[[redirects]]
|
|
|
|
from = "/name"
|
|
|
|
to = "/docs/upgrading/#name"
|
|
|
|
status = 301
|
|
|
|
force = true
|
|
|
|
|
2023-09-24 06:39:38 -07:00
|
|
|
[[redirects]]
|
|
|
|
from = "/docs/getting-started/starting_with_sql/"
|
|
|
|
to = "/docs/sql-api/#setup"
|
|
|
|
status = 301
|
|
|
|
force = true
|
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = "/docs/advanced-features/joins/"
|
|
|
|
to = "/docs/dart-api/select/#joins"
|
|
|
|
status = 301
|
|
|
|
force = true
|
|
|
|
|
2023-06-16 07:41:13 -07:00
|
|
|
[[headers]]
|
|
|
|
for = "/*"
|
|
|
|
[headers.values]
|
|
|
|
Cross-Origin-Opener-Policy = "same-origin"
|
|
|
|
Cross-Origin-Embedder-Policy = "require-corp"
|
|
|
|
|
2019-10-27 08:59:08 -07:00
|
|
|
[context.production]
|
2021-03-12 12:14:45 -08:00
|
|
|
environment = { BUILD_RELEASE="release" }
|
2020-09-24 10:55:25 -07:00
|
|
|
|
|
|
|
[context.deploy-preview]
|
2021-03-12 12:14:45 -08:00
|
|
|
environment = { }
|