fix default callback base URL port mismatch

Derive CALLBACK_BASE_URL fallback from LISTEN_ADDR so default local setup resolves to localhost:8080 and stays aligned with server bind port.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
thuanleandClaude Opus 4.7 committed 2026-04-27 20:56:47 +07:00
1 parent cc9d54afdc
commit 2168042edb
5 files changed
+33 -6

No files matched your search

+1 -1
View File
@@ -22,4 +22,4 @@ WHITELIST_EMAILS=user1@example.com,user2@example.com
# === Optional ===
IMAP_PROXY_URL=
LISTEN_ADDR=:8080
CALLBACK_BASE_URL=http://localhost
CALLBACK_BASE_URL=http://localhost:8080