-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathnetlify.toml
More file actions
87 lines (66 loc) · 2.55 KB
/
Copy pathnetlify.toml
File metadata and controls
87 lines (66 loc) · 2.55 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
[build]
command = "npm run build"
edge_functions = "netlify/edge-functions"
[context.production]
command = "npm run build"
[[context.production.plugins]]
package = "@netlify/plugin-lighthouse"
[[context.deploy-preview.plugins]]
package = "@netlify/plugin-lighthouse"
[functions]
node_bundler = "esbuild"
[images]
remote_images = ["https://content\\.sentimony\\.com/.*"]
[[edge_functions]]
pattern = "/.*\\.[Pp][Hh][Pp].*"
function = "blocking"
[[edge_functions]]
pattern = "/.*[Ww][Pp]-.*"
function = "blocking"
[[edge_functions]]
pattern = "/.*[Ww][Pp]/.*"
function = "blocking"
[[edge_functions]]
pattern = "/.*[Ww][Oo][Rr][Dd][Pp][Rr][Ee][Ss][Ss].*"
function = "blocking"
[[edge_functions]]
pattern = ".*/([Aa]dmin|files|uploads)/.*"
function = "blocking"
# Test: https://stage--sentimony-nuxt.netlify.app/__test.PHP
# Test: https://stage--sentimony-nuxt.netlify.app/__test.Php7
# Test: https://stage--sentimony-nuxt.netlify.app/__testwP-
# Test: https://stage--sentimony-nuxt.netlify.app/__testWp/
# Test: https://stage--sentimony-nuxt.netlify.app/__testwoRdpress
# Test: https://stage--sentimony-nuxt.netlify.app/admin/controller/extension/extension/
# Test: https://stage--sentimony-nuxt.netlify.app/files/
# Test: https://stage--sentimony-nuxt.netlify.app/uploads/
# [[edge_functions]]
# pattern = ".*/$"
# function = "trailing-slash-remove"
# Test: https://sentimony.com/release/va-fantazma/napster/
# Test: https://sentimony.com/release/va-fantazma/junodownload/
# [[edge_functions]]
# pattern = "^(?!.*/$).*$"
# function = "trailing-slash-add"
# Test: https://sentimony.com/release/va-fantazma/napster
# Test: https://sentimony.com/release/va-fantazma/junodownload
[[edge_functions]]
pattern = "/.*\\.(htm|html|index.htm|index.html)$"
function = "redirects"
# Test: https://sentimony.com/sencd097.htm
# Test: https://sentimony.com/artists.htm
# Test: https://sentimony.com/events.html
# Test: https://sentimony.com/index.htm
# Test: https://sentimony.com/index.html
# Test: https://sentimony.com/artists/index.htm
# Test: https://sentimony.com/events/index.html
[[edge_functions]]
pattern = "/release/.*/googleplay.*"
function = "redirects"
# Test: https://stage--sentimony-nuxt.netlify.app/release/va-futured-vol-1/googleplay/
# Test: https://stage--sentimony-nuxt.netlify.app/release/zymosis-nichna/googleplaymarket/
# Test: https://stage--sentimony-nuxt.netlify.app/release/irukanji-z-lisu/napster/
[[edge_functions]]
pattern = "/login/?$"
function = "redirects"
# Test: https://stage--sentimony-nuxt.netlify.app/login