-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnetlify.toml
More file actions
56 lines (53 loc) · 1.5 KB
/
Copy pathnetlify.toml
File metadata and controls
56 lines (53 loc) · 1.5 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
[build]
# This sort of lets us build only on tagged commits to prod
# [context.production]
# ignore = "if git diff $CACHED_COMMIT_REF $COMMIT_REF ./package.json | grep - | grep version && git diff $CACHED_COMMIT_REF $COMMIT_REF ./package.json | grep + | grep version; then exit 1; else exit 0; fi"
[functions]
directory = "functions"
node_bundler = "esbuild"
# Domain rewrites
[[redirects]]
from = "https://stats-v2.kalabox.io/*"
to = "https://telemetry.lando.dev/:splat"
status = 200
[[redirects]]
from = "https://stats.lando.dev/*"
to = "https://telemetry.lando.dev/:splat"
status = 200
[[redirects]]
from = "https://metrics.lndo.io/*"
to = "https://telemetry.lando.dev/:splat"
status = 200
[[redirects]]
from = "https://stats.lndo.io/*"
to = "https://telemetry.lando.dev/:splat"
status = 200
[[redirects]]
from = "https://metrics.devwithlando.io/*"
to = "https://telemetry.lando.dev/:splat"
status = 200
[[redirects]]
from = "https://stats.devwithlando.io/*"
to = "https://telemetry.lando.dev/:splat"
status = 200
[[redirects]]
from = "https://metrics.lando.dev/*"
to = "https://telemetry.lando.dev/:splat"
status = 200
# API rewrites
[[redirects]]
from = "/"
to = "/.netlify/functions/ping"
status = 200
[[redirects]]
from = "/ping"
to = "/.netlify/functions/ping"
status = 200
[[redirects]]
from = "/metrics/*"
to = "/.netlify/functions/metrics/:splat"
status = 200
[[redirects]]
from = "/status/*"
to = "/.netlify/functions/status/:splat"
status = 200