forked from cBioPortal/cbioportal-frontend
-
Notifications
You must be signed in to change notification settings - Fork 1
/
netlify.toml
48 lines (41 loc) · 1.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
[build.environment]
NODE_VERSION = "8.12.0"
YARN_VERSION = "1.13.0"
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"