-
Notifications
You must be signed in to change notification settings - Fork 6
/
netlify.toml
49 lines (44 loc) · 1.23 KB
/
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
47
48
49
[[redirects]]
from = "/api/v1/*"
to = "https://api.fixmyberlin.de/api/:splat"
status = 200
force = true
[redirects.headers]
X-From = "Netlify"
X-Forwarded-Host = "fixmyberlin.de"
X-Forwarded-Proto = "https"
[[redirects]]
from = "/api/next/*"
to = "https://api-staging.fixmyberlin.de/api/:splat"
status = 200
force = true
[redirects.headers]
X-From = "Netlify"
X-Forwarded-Host = "fixmyberlin-staging.netlify.app"
X-Forwarded-Proto = "https"
[[redirects]]
from = "/api/aachen/v1/*"
to = "https://api.radbuegel-aachen.de/api/:splat"
status = 200
force = true
[redirects.headers]
X-From = "Netlify"
X-Forwarded-Host = "radbuegel-aachen.de"
X-Forwarded-Proto = "https"
[[redirects]]
from = "/api/aachen/next/*"
to = "https://api-staging.radbuegel-aachen.de/api/:splat"
status = 200
force = true
[redirects.headers]
X-From = "Netlify"
X-Forwarded-Host = "fixmyaachen-staging.netlify.app"
X-Forwarded-Proto = "https"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
[[headers]]
for = "/api/*"
[headers.values]
Access-Control-Allow-Origin = "*"