-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
33 lines (28 loc) · 1.17 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
[build]
base = "frontend"
publish = "frontend/build"
command = "yarn build"
[build.environment]
REACT_APP_STAGING_BUILD = "1"
REACT_APP_API_SERVER = "https://sakuten-api-testflight.herokuapp.com"
[context.deploy-preview.environment]
# Testing key for preview deployment
# Details: https://developers.google.com/recaptcha/docs/faq#id-like-to-run-automated-tests-with-recaptcha-v2-what-should-i-do
REACT_APP_RECAPTCHA_KEY = "6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI"
[context.production]
[context.production.environment]
REACT_APP_API_SERVER = "https://sakuten-api-release.herokuapp.com"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
[[headers]]
for = "/index.html"
[headers.values]
Content-Security-Policy = "default-src 'self' https:; font-src 'self' https: data:; img-src 'self' https: data:; object-src 'none'; worker-src blob: https:; script-src blob: https:; style-src 'self' https: 'unsafe-inline'"
Strict-Transport-Security = "max-age=631138519"
X-Content-Type-Options = "nosniff"
X-Download-Options = "noopen"
X-Frame-Options = "sameorigin"
X-Permitted-Cross-Domain-Policies = "none"
X-Xss-Protection = "1; mode=block"