Use an inverted favicon on AIGen and keep the current icon on xAIGen.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+4
-1
@@ -1,3 +1,6 @@
|
||||
const xaigenStudio = /^xaigen$/i.test(String(process.env.NUXT_PUBLIC_STUDIO || '').trim())
|
||||
|| /xaigen/i.test(String(process.env.NUXT_PUBLIC_INSTANCE_NAME || '').trim())
|
||||
|
||||
export default defineNuxtConfig({
|
||||
compatibilityDate: '2025-08-01',
|
||||
modules: ['@nuxtjs/tailwindcss'],
|
||||
@@ -13,7 +16,7 @@ export default defineNuxtConfig({
|
||||
{ name: 'description', content: 'Headless MiniMax H3 image-to-video studio relayed to local ComfyUI.' }
|
||||
],
|
||||
link: [
|
||||
{ rel: 'icon', type: 'image/svg+xml', href: '/favicon.svg' },
|
||||
{ rel: 'icon', type: 'image/svg+xml', href: xaigenStudio ? '/favicon.svg' : '/favicon-aigen.svg' },
|
||||
{ rel: 'preconnect', href: 'https://fonts.googleapis.com' },
|
||||
{ rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: '' },
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user