forked from genome-nexus/genome-nexus-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
58 lines (49 loc) · 1.15 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
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
[build.environment]
NODE_VERSION = "15.2.1"
YARN_VERSION = "1.22.5"
YARN_FLAGS = "--frozen-lockfile"
BABEL_CACHE_FOLDER = "/opt/build/cache/"
BUILD_REPORT_ERRORS_ONLY = "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