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.

fix(explore): 增加带照片ID链接访问时地图缩放级别

Timothy Yin1625f85b3a1d
diff --git a/app/pages/explore.vue b/app/pages/explore.vue
index 65b52116..9001e434 100644
--- a/app/pages/explore.vue
+++ b/app/pages/explore.vue
@@ -149,7 +149,7 @@ const onMapLoaded = (map: any) => {
setTimeout(() => {
map.flyTo({
center: [photo.longitude, photo.latitude],
- zoom: 15,
+ zoom: 17,
essential: true,
duration: 2000,
})
diff --git a/nuxt.config.ts b/nuxt.config.ts
index 390c5bda..b2c5ddb0 100644
--- a/nuxt.config.ts
+++ b/nuxt.config.ts
@@ -4,7 +4,7 @@ import tailwindcss from '@tailwindcss/vite'
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: '2025-07-15',
- devtools: { enabled: true },
+ devtools: { enabled: false },
modules: [
'reka-ui/nuxt',