fix callback URL to use configurable public base

Separate callback URL generation from LISTEN_ADDR by introducing CALLBACK_BASE_URL with a localhost default for local development.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-04-27 19:02:31 +07:00
co-authored by Claude Opus 4.7
parent 8815c20c13
commit cc9d54afdc
6 changed files with 113 additions and 2 deletions
+1
View File
@@ -22,3 +22,4 @@ WHITELIST_EMAILS=user1@example.com,user2@example.com
# === Optional ===
IMAP_PROXY_URL=
LISTEN_ADDR=:8080
CALLBACK_BASE_URL=http://localhost