Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.
TypeScript albumsexif-extractiongeocodinglive-photomotion-photophoto-galleryphoto-sharingwebgl-viewer
fix(site): default public galleries to dark appearance
Timothy Yined5cd8b03f16
diff --git a/apps/site/server/api/public/system/settings/all.get.ts b/apps/site/server/api/public/system/settings/all.get.tsindex 36fef764..886a31f8 100644--- a/apps/site/server/api/public/system/settings/all.get.ts+++ b/apps/site/server/api/public/system/settings/all.get.ts@@ -29,6 +29,8 @@ export default definePlatformHandler(async (event) => {avatarUrl: stringpresentation: string}>()+ // Start public galleries in dark mode; visitors can switch themes in the UI.+ data.app!['appearance.theme'] = 'dark'data.app!.title = profile?.title || context.namedata.app!.slogan = profile?.slogan || ''data.app!.author = profile?.author || ''