Skip to content

Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.

chore: add NUXT_MAPBOX_ACCESS_TOKEN configuration placeholder

Timothy Yine4f8406aced2
diff --git a/.env.example b/.env.example
index cbe42c3e..bb7b8495 100644
--- a/.env.example
+++ b/.env.example
@@ -11,8 +11,10 @@ NUXT_PUBLIC_APP_SLOGAN=Mems rest within the lens.
NUXT_PUBLIC_APP_AUTHOR=
NUXT_PUBLIC_APP_AVATAR_URL=/avatar.webp
-# Mapbox access token for map features
+# Mapbox access token for map features, Mapbox GL JS (Client-side, public)
NUXT_PUBLIC_MAPBOX_ACCESS_TOKEN=
+# Mapbox secret access token for server-side, Mapbox Search API (Reverse Geocoding)
+NUXT_MAPBOX_ACCESS_TOKEN=
# Photo files storage provider: s3
NUXT_STORAGE_PROVIDER=s3
diff --git a/nuxt.config.ts b/nuxt.config.ts
index 2af21192..6de71544 100644
--- a/nuxt.config.ts
+++ b/nuxt.config.ts
@@ -39,6 +39,7 @@ export default defineNuxtConfig({
APP_AUTHOR: '',
APP_AVATAR_URL: '/avatar.webp',
},
+ MAPBOX_ACCESS_TOKEN: '',
STORAGE_PROVIDER: 's3',
PROVIDER_S3_ENDPOINT: '',
PROVIDER_S3_BUCKET: '',