-
Notifications
You must be signed in to change notification settings - Fork 5
/
netlify.toml
31 lines (30 loc) · 777 Bytes
/
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
[functions]
directory = "www/functions"
node_bundler = "esbuild"
included_files = ["www/dataserver/data/**.json"]
external_node_modules = ["express", "serverless-http", "path", "cors", "body-parser", "json-server","fs","net","tls","request","xlsx","alasql","@adaptabletools/infinite-license","busboy","axios"]
[[headers]]
for = "/*"
[headers.values]
cache-control = "no-store"
[[headers]]
for = "*.css"
[headers.values]
cache-control = '''
public,
max-age=31536000,
immutable'''
[[headers]]
for = "/_next/static/*.{png,css}"
[headers.values]
cache-control = '''
public,
max-age=31536000,
immutable'''
[[headers]]
for = "*.js"
[headers.values]
cache-control = '''
public,
max-age=31536000,
immutable'''