From a02b06042add2d29dbf7090feda6df821620d1df Mon Sep 17 00:00:00 2001 From: jubnl Date: Sat, 11 Jul 2026 18:52:44 +0800 Subject: [PATCH] docs: add AMAP_WEB_SERVICE_KEY to server .env.example --- server/.env.example | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/.env.example b/server/.env.example index 47ad25f1..7bb5a096 100644 --- a/server/.env.example +++ b/server/.env.example @@ -45,6 +45,10 @@ DEMO_MODE=false # Demo mode - resets data hourly # UNSPLASH_ACCESS_KEY= # Optional Unsplash Access Key for trip-cover and place-image search. Without one, TREK uses Unsplash's unauthenticated endpoint, which some datacenter/VPS IPs get blocked from (#1449). Get a free key at unsplash.com/developers. Overrides any key set per-admin in Admin > Settings. Can also be configured there instead of here. +# AMAP_WEB_SERVICE_KEY= # Required. Amap (Gaode Maps) Web Service API key for maps, places, routing, and transit services. Get one at https://console.amap.com/dev/ + +# OVERPASS_URL= # Deprecated — maps service uses Amap instead. Ignored when AMAP_WEB_SERVICE_KEY is set. + # Initial admin account — ONLY applied on the first boot, when the database has no # users yet. Adding these later has no effect (the server logs a reminder if you do); # to change an existing password sign in and use Settings, or reset the admin account.