-
Notifications
You must be signed in to change notification settings - Fork 367
/
netlify.toml
54 lines (52 loc) · 1.55 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
[build]
# This will be run the site build
command = "npm run site:build"
# This is the directory is publishing to netlify's CDN
publish = "site/dist"
[build.environment]
NODE_VERSION = "12"
#####################
# Redirect Rules #
#####################
[[redirects]]
# Telemetry link
from = "/telemetry/track"
to = "https://api.netlify-services.com/telemetry/track"
status = 200
force = false
[[redirects]]
# Telemetry link
from = "/telemetry/identify"
to = "https://api.netlify-services.com/telemetry/identify"
status = 200
force = false
[[redirects]]
# Old CLI download links.
from = "/download/latest/mac"
to = "https://github.com/netlify/netlifyctl/releases/download/v0.4.0/netlifyctl-darwin-amd64-0.4.0.tar.gz"
status = 302
force = false
[[redirects]]
# Old CLI download links.
from = "/download/latest/linux"
to = "https://github.com/netlify/netlifyctl/releases/download/v0.4.0/netlifyctl-linux-amd64-0.4.0.tar.gz"
status = 302
force = false
[[redirects]]
# Old CLI download links.
from = "/download/latest/windows"
to = "https://github.com/netlify/netlifyctl/releases/download/v0.4.0/netlifyctl-windows-amd64-0.4.0.zip"
status = 302
force = false
[[redirects]]
# Old CLI download links.
from = "/download/latest/source-zip"
to = "https://github.com/netlify/netlifyctl/archive/v0.4.0.zip"
status = 302
force = false
[[redirects]]
# Old CLI download links.
from = "/download/latest/source-tar"
to = "https://github.com/netlify/netlifyctl/archive/v0.4.0.tar.gz"
status = 302
force = false