2019-07-17 20:51:49 +00:00
|
|
|
[build]
|
|
|
|
base = "frontend/"
|
|
|
|
publish = "frontend/build/"
|
|
|
|
|
2020-05-19 15:19:01 +00:00
|
|
|
[build.environment]
|
|
|
|
INLINE_RUNTIME_CHUNK = "false"
|
|
|
|
|
2019-07-17 20:51:49 +00:00
|
|
|
[context.develop.environment]
|
|
|
|
REACT_APP_STAGING = "true"
|
|
|
|
|
|
|
|
[context.branch-deploy.environment]
|
|
|
|
REACT_APP_STAGING = "true"
|
2019-07-18 20:05:16 +00:00
|
|
|
|
|
|
|
[context.deploy-preview.environment]
|
2019-07-21 07:23:50 +00:00
|
|
|
REACT_APP_STAGING = "true"
|
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = "/*"
|
|
|
|
to = "/index.html"
|
|
|
|
status = 200
|
|
|
|
|
2020-05-19 15:19:01 +00:00
|
|
|
[[headers]]
|
|
|
|
for = "/*"
|
|
|
|
[headers.values]
|
|
|
|
X-Content-Type-Options = "nosniff"
|
|
|
|
X-Frame-Options = "DENY"
|
|
|
|
X-XSS-Protection = "1"
|
2020-10-09 19:36:31 +00:00
|
|
|
Content-Security-Policy = "default-src 'self' https://*.fediverse.space https://plausible.cursed.technology; style-src 'self' 'unsafe-inline';"
|
2020-05-19 15:19:01 +00:00
|
|
|
|