This repository has been archived by the owner on Jan 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
netlify.toml
56 lines (48 loc) · 1.62 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
[build]
publish = "dist"
command = "npm run build"
[[headers]]
for = "/*"
[headers.values]
X-Content-Type-Options = "nosniff"
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
Cache-Control = "public,max-age=3600"
Content-Security-Policy = '''
style-src 'self' 'unsafe-inline';
default-src 'self' www.google-analytics.com;
child-src 'self' www.youtube.com www.youtube-nocookie.com www.google-analytics.com;
connect-src 'self' *.mozilla.org www.google-analytics.com;
img-src 'self' data: www.google-analytics.com;
script-src 'self' 'unsafe-inline' 'unsafe-eval' s.ytimg.com www.youtube.com www.googletagmanager.com;
'''
[[headers]]
for = "/fonts/*"
[headers.values]
# Temporary cache header change until we can get immutable files back
# Cache-Control = "max-age=31536000,public,immutable"
Cache-Control = "public,max-age=3600"
[[headers]]
for = "/css/*"
[headers.values]
# Cache-Control = "max-age=31536000,public,immutable"
Cache-Control = "public,max-age=3600"
[[headers]]
for = "/img/*"
[headers.values]
# Cache-Control = "max-age=31536000,public,immutable"
Cache-Control = "public,max-age=3600"
[[headers]]
for = "/js/*"
[headers.values]
# Cache-Control = "max-age=31536000,public,immutable"
Cache-Control = "public,max-age=3600"
[[redirects]]
from = "/builders-challenge/application/"
to = "https://docs.google.com/forms/d/e/1FAIpQLScBsZLnrnII9VbzzjOxBh9wRDRcoNTryT3rqhNsoGprye7OKA/viewform?usp=sf_link"
[[redirects]]
from = "/ai/index.html"
to = "/ai/home.html"
[[redirects]]
from = "/ai/"
to = "/ai/home.html"