From 2219fa89506c4488cb7f68bf1aa93e3e6f1533e3 Mon Sep 17 00:00:00 2001 From: josedario87 Date: Fri, 17 Oct 2025 05:26:08 -0600 Subject: [PATCH] =?UTF-8?q?Restaurar=20configuraci=C3=B3n=20original=20del?= =?UTF-8?q?=20manifest=20PWA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Restaurar capture_links: 'existing-client-navigate' - Restaurar scope_extensions con subdominios de Nucleo V3 - Ahora usamos window.open() para bypassear estas configuraciones - Configuración correcta del manifest mantenida --- nuxt4/nuxt.config.ts | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/nuxt4/nuxt.config.ts b/nuxt4/nuxt.config.ts index a7d52e0..48d8881 100644 --- a/nuxt4/nuxt.config.ts +++ b/nuxt4/nuxt.config.ts @@ -46,9 +46,29 @@ export default defineNuxtConfig({ launch_handler: { client_mode: 'navigate-existing' }, - // Capturar enlaces pero respetar target="_blank" - // 'none' permite que el navegador maneje los enlaces normalmente - capture_links: 'none', + // Capturar todos los enlaces que apunten a esta app + capture_links: 'existing-client-navigate', + // Extender scope a otros subdominios de Nucleo V3 + scope_extensions: [ + { + origin: "https://musica.nucleoriofrio.com" + }, + { + origin: "https://docs.nucleoriofrio.com" + }, + { + origin: "https://analitica.nucleoriofrio.com" + }, + { + origin: "https://seguidordelotes.nucleoriofrio.com" + }, + { + origin: "https://whisper.nucleoriofrio.com" + }, + { + origin: "https://amigos.nucleoriofrio.com" + } + ], icons: [ { src: '/icon-192x192.png',