forked from open-sauced/app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
46 lines (37 loc) · 933 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.environment]
NODE_VERSION = "18"
[context.alpha]
environment = { CHANNEL = "alpha" }
[context.beta]
environment = { CHANNEL = "beta" }
[dev]
command = "next dev -p 3001"
port = 3000
targetPort = 3001
[functions]
deno_import_map = "./netlify/edge-functions/deno.json"
[[redirects]]
from = "https://insight.opensauced.pizza/*"
to = "https://insights.opensauced.pizza/:splat"
status = 301
force = true
[[redirects]]
from = "https://insights.opensauced.pizza/*"
to = "https://app.opensauced.pizza/:splat"
status = 301
force = true
[[redirects]]
from = "https://beta.insights.opensauced.pizza/*"
to = "https://beta.app.opensauced.pizza/:splat"
status = 301
force = true
[[redirects]]
from = "https://oscr.me/:username"
to = "https://app.opensauced.pizza/u/:username/card"
status = 301
force = true
[[redirects]]
from = "https://hot.opensauced.pizza/*"
to = "https://app.opensauced.pizza/explore"
status = 301
force = true