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.

450 B
Raw Blame
import { definePlatformHandler } from '../../../../../../shared/platform/runtime'
import { publicSiteContext } from '../../../../../../shared/platform/context'
import { visitorAccess } from '../../../../../../shared/platform/visitor'
export default definePlatformHandler(async (event) =>
  visitorAccess(
    event,
    await publicSiteContext(event),
    Number(getRouterParam(event, 'albumId')),
    useRuntimeConfig(event).platform.secret,
  ),
)