-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
40 lines (35 loc) · 937 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
[[redirects]]
from = "/r"
to = "https://www.reddit.com"
status = 200
force = true
headers = {X-From = "Netlify"}
[[redirects]]
from = "/subreddits"
to = "https://www.reddit.com"
status = 200
force = true
headers = {X-From = "Netlify"}
# The following redirect is intended for use with most SPAs that handle
# routing internally.
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
[[headers]]
# Define which paths this specific [[headers]] block will cover.
for = "https://sentry.io/*"
[headers.values]
Access-Control-Allow-Origin = "*"
# Skip all post processing in deploy previews,
# ignoring any other settings
[context.deploy-preview.processing]
skip_processing = true
[context.branch-name.processing]
skip_processing = false
[context.branch-name.processing.images]
compress = false
[[redirects]]
from="/call-proxy/*"
to="/.netlify/functions/call-proxy/:splat"
status=301