-
Notifications
You must be signed in to change notification settings - Fork 9
/
netlify.toml
73 lines (69 loc) · 1.44 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
[build]
publish = "./public"
command = "npm run bootstrap && npx netlify-lambda build lambda/ && npm run build"
functions = "./functions"
[[headers]]
# Define which paths this specific [[headers]] block will cover.
for = "/*"
[headers.values]
Strict-Transport-Security = '''
max-age=31536000;
includeSubDomains;'''
Content-Security-Policy = '''
frame-ancestors
'self';
upgrade-insecure-requests;
script-src
*
'self'
eval:
data:
blob:
'unsafe-inline'
'unsafe-eval'
googletagmanager.com;
style-src
'self'
'report-sample'
'unsafe-inline'
*;
object-src
'none';
frame-src
'self'
*;
child-src
'self';
img-src
'self'
data:
*;
font-src
'self'
data:
*.cloudfront.net
fonts.gstatic.com;
connect-src
'self'
*;
manifest-src
'self';
base-uri
'self';
form-action
'self'
facebook.com;
media-src
'self';
prefetch-src
'self';
worker-src
'none';
report-uri
https://o113111.ingest.sentry.io/api/4504169636823040/security/?sentry_key=b0ad7185212c4ea689a404b1b2d0eff5
'''
# Run `npm run publish` to re-index in algolia
# [context.production]
# publish = "./public"
# command = "npm run bootstrap && npx netlify-lambda build lambda/ && npm run publish"
# functions = "./functions"