-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnetlify.toml
More file actions
37 lines (31 loc) · 1.02 KB
/
netlify.toml
File metadata and controls
37 lines (31 loc) · 1.02 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
[build]
command = "turbo run build --filter @repo/webapp"
publish = "apps/webapp/.next"
[build.environment]
# Skip secrets scanning for these intentionally public Next.js env vars
# NEXT_PUBLIC_* variables are designed to be exposed to the client
SECRETS_SCAN_OMIT_KEYS = "NEXT_PUBLIC_SUPABASE_URL,NEXT_PUBLIC_SUPABASE_ANON_KEY"
# Site URL for OG meta tags - must be set for social embeds to work
NEXT_PUBLIC_SITE_URL = "https://matchbox.mallard.sh"
# Proxy /docs/* to the docs site (hosted separately on Netlify)
[[redirects]]
from = "/docs/*"
to = "https://matchdocs.netlify.app/docs/:splat"
status = 200
force = true
# Proxy static assets for docs site
[[redirects]]
from = "/_astro/*"
to = "https://matchdocs.netlify.app/_astro/:splat"
status = 200
force = true
[[redirects]]
from = "/pagefind/*"
to = "https://matchdocs.netlify.app/pagefind/:splat"
status = 200
force = true
[[redirects]]
from = "/favicon.svg"
to = "https://matchdocs.netlify.app/favicon.svg"
status = 200
force = true