fix: skip custom domain store detection for platform domains
Some checks failed
Some checks failed
StoreContextMiddleware was treating platform domains (e.g. rewardflow.lu) as custom store domains, causing store lookup to fail before reaching path-based detection (/storefront/FASHIONHUB/...). Now skips custom domain detection when the host matches the platform's own domain. Also fixes menu tests to use loyalty-program instead of loyalty-overview, and adds LOYALTY_DEFAULT_LOGO_URL and LOYALTY_GOOGLE_WALLET_ORIGINS to Hetzner deployment docs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -2280,6 +2280,10 @@ nano .env
|
||||
Add:
|
||||
|
||||
```bash
|
||||
# Loyalty Module
|
||||
LOYALTY_DEFAULT_LOGO_URL=https://rewardflow.lu/static/modules/loyalty/shared/img/default-logo-200.png
|
||||
LOYALTY_GOOGLE_WALLET_ORIGINS=["https://rewardflow.lu"]
|
||||
|
||||
# Google Wallet (Loyalty Module)
|
||||
LOYALTY_GOOGLE_ISSUER_ID=3388000000023089598
|
||||
LOYALTY_GOOGLE_SERVICE_ACCOUNT_JSON=/app/google-wallet-sa.json
|
||||
|
||||
Reference in New Issue
Block a user