-
Notifications
You must be signed in to change notification settings - Fork 285
/
netlify.toml
54 lines (46 loc) · 1.13 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
[build.environment]
NODE_VERSION = "15.2.1"
YARN_VERSION = "1.22.5"
YARN_FLAGS = "--frozen-lockfile --ignore-engines"
BABEL_CACHE_FOLDER = "/opt/build/cache/"
BUILD_REPORT_ERRORS_ONLY = "true"
DISABLE_SOURCEMAP = "true"
[[headers]]
for = "/*.otf"
[headers.values]
Access-Control-Allow-Origin = "*"
Content-Type = "application/font-otf"
[[headers]]
for = "/*.ttf"
[headers.values]
Access-Control-Allow-Origin = "*"
Content-Type = "application/font-ttf"
[[headers]]
for = "/*.json"
[headers.values]
Access-Control-Allow-Origin = "*"
Content-Type = "application/json"
[[headers]]
for = "/*.ttc"
[headers.values]
Access-Control-Allow-Origin = "*"
Content-Type = "application/font-ttc"
[[headers]]
for = "/*.woff2"
[headers.values]
Access-Control-Allow-Origin = "*"
Content-Type = "application/font-woff2"
[[headers]]
for = "/*.woff"
[headers.values]
Access-Control-Allow-Origin = "*"
Content-Type = "application/font-woff"
[[headers]]
for = "/*.eot"
[headers.values]
Access-Control-Allow-Origin = "*"
Content-Type = "application/font-eot"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200