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.

369 B
Raw Blame
import { defineWizardHandler } from '../../utils/wizard-handler'
import {
  persistWizardSiteSettings,
  wizardSiteSchema,
} from '~~/server/services/wizard/site-settings'

export default defineWizardHandler(async (event) => {
  const body = await readValidatedBody(event, wizardSiteSchema.parse)

  await persistWizardSiteSettings(body)

  return { success: true }
})