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,5 +1,4 @@
|
||||
import { aigenApiPathAllowed, aigenBearerAuthorized } from '~/server/utils/aigenApiAuth'
|
||||
import { isXaigenStudio } from '~/utils/videoModels'
|
||||
|
||||
export default defineEventHandler((event) => {
|
||||
if (!authEnabled()) return
|
||||
@@ -11,7 +10,6 @@ export default defineEventHandler((event) => {
|
||||
path.startsWith('/api/auth/me') ||
|
||||
path.startsWith('/api/health') ||
|
||||
path.startsWith('/api/monitor') ||
|
||||
path.startsWith('/api/library/backup-ingest') ||
|
||||
path.startsWith('/_nuxt') ||
|
||||
path.startsWith('/favicon') ||
|
||||
path === '/login'
|
||||
@@ -19,7 +17,7 @@ export default defineEventHandler((event) => {
|
||||
return
|
||||
}
|
||||
const method = String(event.method || getMethod(event) || 'GET').toUpperCase()
|
||||
if (!isXaigenStudio() && aigenApiPathAllowed(path, method) && aigenBearerAuthorized(event)) {
|
||||
if (aigenApiPathAllowed(path, method) && aigenBearerAuthorized(event)) {
|
||||
return
|
||||
}
|
||||
const user = getSessionUser(event)
|
||||
|
||||
Reference in New Issue
Block a user