forked from ThatGuySam/doesitarm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
64 lines (47 loc) · 1.04 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]
publish = "dist/"
command = "npm run generate --quiet"
# functions = "functions/"
[build.environment]
NPM_FLAGS = "--no-optional"
CI = "1"
# https://docs.netlify.com/configure-builds/file-based-configuration/#redirects
# old node redirect
[[redirects]]
from = "/app/node"
to = "/app/nodejs"
status = 301
# old git redirect
[[redirects]]
from = "/app/git"
to = "/app/git-version-control"
status = 301
# old electron redirect
[[redirects]]
from = "/app/electron"
to = "/app/electron-framework"
status = 301
# imac redirect
[[redirects]]
from = "/device/apple-silicon-imac"
to = "/device/m1-imac/"
status = 307
# Category Redirects
[[redirects]]
from = "/kind/entertainment"
to = "/kind/entertainment-and-media-apps/"
status = 301
[[redirects]]
from = "/kind/photo-tools"
to = "/kind/photo-and-graphic-tools/"
status = 301
# Other Redirects
# Random broken link from Chinese sites
[[redirects]]
from = "/。"
to = "/"
status = 301
[[redirects]]
from = "/%E3%80%82"
to = "/"
status = 301