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:登录title显示已配置的title,照片信息面板文件名去除前缀

tanmantang91477ec51344
diff --git a/.gitignore b/.gitignore
index 2c157844..d82a0350 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,6 +5,7 @@
.nitro
.cache
dist
+node-compile-cache
# Date
data
diff --git a/app/components/photo/InfoPanel.vue b/app/components/photo/InfoPanel.vue
index fd8fdcff..e1d058be 100644
--- a/app/components/photo/InfoPanel.vue
+++ b/app/components/photo/InfoPanel.vue
@@ -111,7 +111,7 @@ const formatedExifData = computed<Record<string, KVData[]>>(() => {
props.currentPhoto.storageKey
? {
label: $t('exif.filename'),
- value: props.currentPhoto.storageKey,
+ value: props.currentPhoto.storageKey.split('/').pop() || props.currentPhoto.storageKey,
icon: 'tabler:file',
}
: null,
diff --git a/app/pages/signin.vue b/app/pages/signin.vue
index e6616d0e..03efd9d9 100644
--- a/app/pages/signin.vue
+++ b/app/pages/signin.vue
@@ -44,7 +44,7 @@ const onAuthSubmit = async (event: any) => {
<AuthForm
icon="tabler:photo-circle"
:title="$t('auth.form.signin.title')"
- :subtitle="$t('auth.form.signin.subtitle')"
+ :subtitle="$t('auth.form.signin.subtitle',[config.public.APP_TITLE])"
:loading="isLoading"
:providers="[
config.public.OAUTH_GITHUB_ENABLED && {