Add env vars for default locale and map center
VITE_DEFAULT_LOCALE (fr/en/es) sets the initial language for the standalone app when no user preference is saved. VITE_DEFAULT_MAP_CENTER (lat,lng) configures the default map center point. Both fall back to sensible defaults (fr and France center) when not set. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
8a3ff14568
commit
2ceedf8bbf
5 changed files with 40 additions and 3 deletions
|
|
@ -28,6 +28,12 @@ VITE_PUSH_NOTIFICATIONS_ENABLED=true
|
|||
# Image Upload Configuration (pict-rs)
|
||||
VITE_PICTRS_BASE_URL=https://img.mydomain.com
|
||||
|
||||
# Activities / Sortir Configuration
|
||||
# Default language for the standalone activities app (fr, en, es)
|
||||
VITE_DEFAULT_LOCALE=fr
|
||||
# Default map center as "lat,lng" (defaults to France center if not set)
|
||||
VITE_DEFAULT_MAP_CENTER=42.9667,1.6000
|
||||
|
||||
# Market Configuration
|
||||
VITE_MARKET_NADDR=naddr1qqjxgdp4vv6rydej943n2dny956rwwf4943xzwfc95ekyd3evenrsvrrvc6r2qf8waehxw309akxucnfw3ejuct5d96xcctw9e5k7tmwdaehgunjv4kxz7f0v96xjmczyqrfrfkxv3m8t4elpe28x065z30zszaaqa4u0744qcmadsz3y50cjqcyqqq82scmcafla
|
||||
# OBSOLETE: Not used in codebase - market uses VITE_NOSTR_RELAYS instead
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue