Files
aigen/server/routes/manifest.webmanifest.ts
T
TowstyandCursor 08caeb51de Eliminate xAIGen and LTX; AIGen is the only studio.
Drop the studio split, backup-to-xAIGen link, and LTX engine option. Show all LoRAs on AIGen and remove the Photos show/hide inputs toggle so slots stay visible.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-27 17:55:59 -05:00

22 lines
577 B
TypeScript

export default defineEventHandler((event) => {
const pub = useRuntimeConfig().public as { instanceName?: string }
const name = String(pub.instanceName || 'AIGen')
setHeader(event, 'Content-Type', 'application/manifest+json')
setHeader(event, 'Cache-Control', 'no-cache')
return {
name,
short_name: name,
start_url: '/',
scope: '/',
display: 'standalone',
background_color: '#09090b',
theme_color: '#09090b',
icons: [{
src: '/favicon-aigen.svg',
sizes: 'any',
type: 'image/svg+xml',
purpose: 'any'
}]
}
})