-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
netlify.toml
51 lines (41 loc) · 905 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# netlify.toml
[build]
publish = "dist/"
command = "npm run build"
[build.processing]
skip_processing = false
[build.processing.css]
bundle = true
minify = true
[build.processing.js]
bundle = true
minify = true
[build.processing.html]
pretty_urls = true
[build.processing.images]
compress = true
[[redirects]]
from = "/listening"
to = "https://listenbrainz.org/user/BinyaminG"
[[redirects]]
from = "/profile.jpeg"
to = "/assets/img/profile/profile.jpeg"
# Temporary redirects (6 months ?)
[[redirects]]
from = "/blog/"
to = "/c/blog"
[[redirects]]
from = "/blog/*"
to = "/p/:splat"
[[redirects]]
from = "/micro/"
to = "/c/micro"
[[redirects]]
from = "/micro/*"
to = "/p/:splat"
[[headers]]
for = "/**/*"
[headers.values]
cache-control = '''max-age=31536000'''
X-Content-Type-Options = "nosniff"
Permissions-Policy = "interest-cohort=()"