-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
netlify.toml
64 lines (54 loc) · 1.06 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
59
60
61
62
63
64
[build]
command = "npm run build"
publish = "build/"
[build.environment]
NODE_VERSION = "18"
NPM_VERSION = "8"
[[headers]]
for = '~* ".(ico|css|js|gif|jpe?g|png)$"'
[headers.values]
expires = '30d'
cache-control = 'public'
[[headers]]
for = "/service-worker.js"
[headers.values]
cache-control = '''
no-cache,
no-store,
must-revalidate'''
[[headers]]
for = "/manifest.json"
[headers.values]
cache-control = '''
no-cache,
no-store,
must-revalidate'''
##############
# REDIRECTS
##############
[[redirects]]
from = "http://www.jsonformatter.com/"
to = "https://jsonformatter.com/"
status = 301
force = true
#.live -> .com
[[redirects]]
from = "http://www.jsonformatter.live/"
to = "https://jsonformatter.com/"
status = 301
force = true
[[redirects]]
from = "https://www.jsonformatter.live/"
to = "https://jsonformatter.com/"
status = 301
force = true
[[redirects]]
from = "http://jsonformatter.live/"
to = "https://jsonformatter.com/"
status = 301
force = true
[[redirects]]
from = "https://jsonformatter.live/"
to = "https://jsonformatter.com/"
status = 301
force = true