-
Notifications
You must be signed in to change notification settings - Fork 410
/
netlify.toml
46 lines (37 loc) · 930 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
[build]
command = "./build.sh --copy && npm run build"
base = "docs/"
publish = "docs/public/"
[build.environment]
NODE_VERSION = "20.11.0"
NPM_VERSION = "10.2.4"
HUGO_VERSION = "0.127.0"
[context.deploy-preview]
command = "./build.sh --copy && npm run build:branch"
[context.branch-deploy]
command = "./build.sh --copy && npm run build:branch"
[[redirects]]
from = "/api/event"
to = "https://academy-api.threedots.tech/api/event"
force = true
status = 200
[[redirects]]
from = "/docs/fanin"
to = "/advanced/fanin/"
status = 301
[[redirects]]
from = "/docs/forwarder"
to = "/advanced/forwarder/"
status = 301
[[redirects]]
from = "/docs/metrics"
to = "/advanced/metrics/"
status = 301
[[redirects]]
from = "/docs/pub-sub-implementing"
to = "/development/pub-sub-implementing/"
status = 301
[[redirects]]
from = "/pubsubs/amazonsqs/"
to = "/pubsubs/aws/"
status = 301