chore(supabase): LAN development — API external URL and site URL on the host address so confirmation mails link to the network
This commit is contained in:
1 parent
edf1145c81
commit
4804827bd7
1 file changed
+4
-1
@@ -6,6 +6,9 @@ project_id = "faunosteo"
|
||||
[api]
|
||||
enabled = true
|
||||
port = 54321
|
||||
# LAN development: the address written into confirmation and recovery mails
|
||||
# (GoTrue API_EXTERNAL_URL). Keep 127.0.0.1 when working on the host alone.
|
||||
external_url = "http://192.168.1.100:54321"
|
||||
# Only public is exposed through PostgREST. private and audit stay internal
|
||||
# (docs/development/BACKEND_ARCHITECTURE.md §3).
|
||||
schemas = ["public"]
|
||||
@@ -68,7 +71,7 @@ enabled = false
|
||||
[auth]
|
||||
enabled = true
|
||||
# Vite dev server of apps/app
|
||||
site_url = "http://127.0.0.1:5173"
|
||||
site_url = "http://192.168.1.100:5173"
|
||||
# LAN access (pnpm dev:lan): confirmation and recovery links must land on the
|
||||
# address the browser used, so every private-network host on :5173 is allowed.
|
||||
additional_redirect_urls = [
|
||||
|
||||
Reference in new issue
Block a user