-
Notifications
You must be signed in to change notification settings - Fork 10
/
netlify.toml
34 lines (29 loc) · 953 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
# Reroute all App URLs under the dynamic path pattern to the React app
[[redirects]]
from = "/app/*"
to = "/app.html"
status = 200
# Redirect default Netlify subdomain to primary domain
[[redirects]]
from = "https://architus.netlify.com/*"
to = "https://archit.us/:splat"
status = 301
force = true
[build]
command = "yarn bootstrap && yarn workspace @architus/app build"
publish = "app/public/"
# Base environment for canary and production
[build.environment]
SITE_NAME = "Architus Canary"
SITE_ROOT = "https://develop.archit.us"
BUILD_LOCATION = "remote"
NODE_ENV = "production"
UMAMI_WEBSITE_ID = "284b0f8e-b21e-463a-a5c8-5f080094e0b0"
[context.production]
# Overrides for production
[context.production.environment]
SITE_NAME = "Architus"
SITE_ROOT = "https://archit.us"
GATSBY_PRODUCTION = "true"
GATSBY_PUBLIC = "true"
UMAMI_WEBSITE_ID = "ef98a5a5-43b7-4216-ae59-958f9e24ca55"