forked from MGOPW/news.tskr.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
executable file
·38 lines (34 loc) · 1.69 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
[build]
command = "yarn rw deploy netlify"
publish = "web/dist"
functions = "api/dist/functions"
[dev]
# To use [Netlify Dev](https://www.netlify.com/products/dev/),
# install netlify-cli from https://docs.netlify.com/cli/get-started/#installation
# and then use netlify link https://docs.netlify.com/cli/get-started/#link-and-unlink-sites
# to connect your local project to a site already on Netlify
# then run netlify dev and our app will be accessible on the port specified below
framework = "redwoodjs"
# Set targetPort to the [web] side port as defined in redwood.toml
targetPort = 8910
# Point your browser to this port to access your RedwoodJS app
port = 8888
[[redirects]]
from = "/index.xml"
to = "/.netlify/functions/rss"
status = 200
force = true
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
X-Content-Type-Options = "nosniff"
Strict-Transport-Security = "max-age=63072000; includeSubDomains; preload"
Referrer-Policy = "same-origin"
#Content-Security-Policy = "default-src 'none'; manifest-src 'self'; worker-src 'self'; connect-src 'self' ; img-src 'self'; script-src 'self' ; style-src 'self' 'unsafe-inline'; frame-ancestors 'self'; base-uri 'self';"
Content-Security-Policy = " default-src 'none'; manifest-src 'self'; worker-src 'self'; connect-src 'self' https://monitoring.jace.pro/api/collect; img-src 'self'; script-src 'self' https://monitoring.jace.pro/minneapolis.js; style-src 'unsafe-inline' ; frame-ancestors 'self'; base-uri 'self';"