forked from simolus3/drift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
46 lines (37 loc) · 940 Bytes
/
netlify.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# 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
[[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
[[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 = { }