mirror of
https://github.com/nomadkaraoke/karaoke-gen.git
synced 2026-11-20 13:07:57 +09:00
fix(local-stack): decide partner calls go to local decide, never production (#1235)
The local stack's backend env had no `KARAOKE_DECIDE_API_URL`, so gen's decide partner client (account deletion) used the production default and sent `DELETE /api/partner/gen/users` to decide.nomadkaraoke.com. Production answered 401, because the local secret differs, so nothing was touched. It surfaced in nomad-mobile's E2E account-1 flow. The fix defaults it to decide's local stack on :8030, and callers can still override it. Script only, no runtime code. 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Configuration** * The local environment can now use a custom karaoke decision service address, with a default address provided when none is configured. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
437b34ee64
commit
65940c6f57
1 file changed
+1
@@ -57,6 +57,7 @@ BOARD_MAX_SIGNUPS_PER_IP=100000
|
||||
LOGIN_CODES_PER_IP_PER_HOUR=100000
|
||||
KJBOX_PARTNER_SECRET=${KJBOX_PARTNER_SECRET:-local-stack-secret}
|
||||
DECIDE_GEN_PARTNER_SECRET=${DECIDE_GEN_PARTNER_SECRET:-local-stack-secret}
|
||||
KARAOKE_DECIDE_API_URL=${KARAOKE_DECIDE_API_URL:-http://127.0.0.1:8030}
|
||||
POSTMARK_SERVER_TOKEN=
|
||||
STRIPE_SECRET_KEY=
|
||||
EOF
|
||||
|
||||
Reference in new issue
Block a user