-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathnetlify.toml
227 lines (208 loc) · 8.02 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
[[headers]]
# Define which paths this specific [[headers]] block will cover.
for = "/*"
[headers.values]
# X-Content-Type-Options controls whether browsers attempt to detect
# the content type, rather than relyihng on the Content-Type header.
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options
X-Content-Type-Options = "nosniff"
# Strict-Transport-Security to require HTTPS connections in supported
# browsers. These settings are required to be eligible for inclusion
# in the HSTS Preload list; see: https://hstspreload.org/
Strict-Transport-Security = """\
max-age=31536000; \
includeSubDomains; \
preload \
"""
# Content-Security-Policy to prevent XSS attacks.
Content-Security-Policy = """ \
default-src \
* \
; \
script-src \
'self' \
'unsafe-eval' \
'unsafe-inline' \
https://aleysian-prefect.cs29.force.com \
https://c.la1-c1cs-ph2.salesforceliveagent.com \
https://c.la1-c2-ia2.salesforceliveagent.com \
https://cdn.lr-ingest.io \
https://d.la1-c1cs-ph2.salesforceliveagent.com \
https://d.la1-c2-ia2.salesforceliveagent.com \
https://d.la1-c2-ph2.salesforceliveagent.com \
https://d.la2-c1-ia5.salesforceliveagent.com \
https://d.la3-c1cs-ia2.salesforceliveagent.com
https://d.la3-c1cs-ia5.salesforceliveagent.com \
https://js.stripe.com \
https://partial-prefect.cs1.force.com \
https://prefect--aleysian.my.salesforce.com \
https://prefect--partial.my.salesforce.com \
https://prefect--partial.sandbox.my.salesforce.com \
https://prefect--partial.sandbox.my.site.com \
https://prefect.force.com \
https://prefect.my.salesforce-site.com \
https://prefect.my.salesforce.com \
https://prefect.my.site.com \
https://service.force.com \
https://static.lightning.force.com \
; \
script-src-elem \
'self' \
'unsafe-eval' \
'unsafe-inline' \
https://aleysian-prefect.cs29.force.com \
https://c.la1-c1cs-ph2.salesforceliveagent.com \
https://c.la1-c2-ia2.salesforceliveagent.com \
https://cdn.lr-ingest.io \
https://d.la1-c1cs-ph2.salesforceliveagent.com \
https://d.la1-c2-ia2.salesforceliveagent.com \
https://d.la1-c2-ph2.salesforceliveagent.com \
https://d.la2-c1-ia5.salesforceliveagent.com \
https://d.la3-c1cs-ia2.salesforceliveagent.com
https://d.la3-c1cs-ia5.salesforceliveagent.com \
https://js.stripe.com \
https://partial-prefect.cs1.force.com \
https://prefect--aleysian.my.salesforce.com \
https://prefect--partial.my.salesforce.com \
https://prefect--partial.sandbox.my.salesforce.com \
https://prefect--partial.sandbox.my.site.com \
https://prefect.force.com \
https://prefect.my.salesforce-site.com \
https://prefect.my.salesforce.com \
https://prefect.my.site.com \
https://service.force.com \
https://static.lightning.force.com \
; \
img-src \
* \
data: \
; \
style-src \
'self' \
'unsafe-inline' \
https://aleysian-prefect.cs29.force.com \
https://c.la1-c1cs-ph2.salesforceliveagent.com \
https://c.la1-c2-ia2.salesforceliveagent.com \
https://cdn.lr-ingest.io \
https://d.la1-c1cs-ph2.salesforceliveagent.com \
https://d.la1-c2-ia2.salesforceliveagent.com \
https://d.la1-c2-ph2.salesforceliveagent.com \
https://d.la2-c1-ia5.salesforceliveagent.com \
https://d.la3-c1cs-ia2.salesforceliveagent.com
https://d.la3-c1cs-ia5.salesforceliveagent.com \
https://js.stripe.com \
https://partial-prefect.cs1.force.com \
https://prefect--aleysian.my.salesforce.com \
https://prefect--partial.my.salesforce.com \
https://prefect--partial.sandbox.my.salesforce.com \
https://prefect--partial.sandbox.my.site.com \
https://prefect.force.com \
https://prefect.my.salesforce-site.com \
https://prefect.my.salesforce.com \
https://prefect.my.site.com \
https://service.force.com \
https://static.lightning.force.com \
; \
style-src-elem \
'self' \
'unsafe-inline' \
https://aleysian-prefect.cs29.force.com \
https://c.la1-c1cs-ph2.salesforceliveagent.com \
https://c.la1-c2-ia2.salesforceliveagent.com \
https://cdn.lr-ingest.io \
https://d.la1-c1cs-ph2.salesforceliveagent.com \
https://d.la1-c2-ia2.salesforceliveagent.com \
https://d.la1-c2-ph2.salesforceliveagent.com \
https://d.la2-c1-ia5.salesforceliveagent.com \
https://d.la3-c1cs-ia2.salesforceliveagent.com
https://d.la3-c1cs-ia5.salesforceliveagent.com \
https://js.stripe.com \
https://partial-prefect.cs1.force.com \
https://prefect--aleysian.my.salesforce.com \
https://prefect--partial.my.salesforce.com \
https://prefect--partial.sandbox.my.salesforce.com \
https://prefect--partial.sandbox.my.site.com \
https://prefect.force.com \
https://prefect.my.salesforce-site.com \
https://prefect.my.salesforce.com \
https://prefect.my.site.com \
https://service.force.com \
https://static.lightning.force.com \
; \
font-src \
data: \
'self' \
; \
frame-ancestors \
'self' \
; \
frame-src \
'self' \
https://*.okta.com \
https://*.prefect.io \
https://js.stripe.com \
https://prefect--partial.my.salesforce.com \
https://prefect--partial.sandbox.my.salesforce.com \
https://prefect.auth0.com \
https://prefect.my.salesforce.com \
https://service.force.com \
; \
child-src \
data: \
blob: \
; \
worker-src \
'self' \
data: \
blob: \
; \
"""
# Referrer-Policy controls the Referer header in requests.
#
# same-origin allows analytics tools to understand user journeys.
Referrer-Policy = "same-origin"
# X-Permitted-Cross-Domain-Policies controls whether this site can be
# embedded into Flash applications or PDF documents.
X-Permitted-Cross-Domain-Policies = "none"
# Permissions-Policy controls the features that the site can request.
#
# https://developer.chrome.com/en/docs/privacy-sandbox/permissions-policy/
# https://github.com/w3c/webappsec-permissions-policy/blob/main/features.md
#
# payment
# https://js.stripe.com - supports PaymentRequest
Permissions-Policy = """\
accelerometer=(), \
ambient-light-sensor=(), \
autoplay=(), \
battery=(), \
camera=(), \
cross-origin-isolated=(), \
display-capture=(), \
document-domain=(), \
encrypted-media=(), \
execution-while-not-rendered=(), \
execution-while-out-of-viewport=(), \
fullscreen=(), \
geolocation=(), \
gyroscope=(), \
hid=(), \
idle-detection=(), \
magnetometer=(), \
microphone=(), \
midi=(), \
navigation-override=(), \
payment=(self "https://js.stripe.com"), \
picture-in-picture=(), \
publickey-credentials-get=(), \
screen-wake-lock=(), \
serial=(), \
sync-xhr=(), \
usb=(), \
web-share=(), \
xr-spatial-tracking=() \
"""