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>
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
import { isXaigenStudio } from '~/utils/videoModels'
|
||||
|
||||
export default defineEventHandler((event) => {
|
||||
const pub = useRuntimeConfig().public as { instanceName?: string; studio?: string }
|
||||
const xaigen = isXaigenStudio(pub)
|
||||
const name = String(pub.instanceName || (xaigen ? 'xAIGen' : 'AIGen'))
|
||||
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 {
|
||||
@@ -15,7 +12,7 @@ export default defineEventHandler((event) => {
|
||||
background_color: '#09090b',
|
||||
theme_color: '#09090b',
|
||||
icons: [{
|
||||
src: xaigen ? '/favicon.svg' : '/favicon-aigen.svg',
|
||||
src: '/favicon-aigen.svg',
|
||||
sizes: 'any',
|
||||
type: 'image/svg+xml',
|
||||
purpose: 'any'
|
||||
|
||||
Reference in New Issue
Block a user