forked from karrot-dev/karrot-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
30 lines (26 loc) · 865 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
[[redirects]]
from = "/api/*"
to = "https://dev.karrot.world/api/:splat"
status = 200
force = true
[[redirects]]
from = "/community_proxy/*"
to = "https://dev.karrot.world/community_proxy/:splat"
status = 200
force = true
[build.environment]
FCM_SENDER_ID = "819038505585"
NODE_VERSION = "10"
YARN_VERSION = "1.7.0"
[[headers]]
for = "/"
[headers.values]
X-Frame-Options = "DENY"
X-Content-Type-Pptions = "nosniff"
Content-Security-Policy-Report-Only = '''
default-src 'self';
connect-src 'self' wss: https://nominatim.openstreetmap.org https://fcm.googleapis.com https://sentry.io;
style-src 'self' 'unsafe-inline';
font-src 'self' data:;
img-src 'self' https: data:;
report-uri https://sentry.io/api/1249808/security/?sentry_key=5c7a0f337fbe4e9ca8626f0e203a2569&sentry_environment=development;'''