Fix: Cambiar capture_links a 'none' para respetar target='_blank'
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 57s
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 57s
- Cambiar capture_links de 'existing-client-navigate' a 'none' - Remover scope_extensions que forzaban navegación en misma ventana - Ahora el navegador respetará target='_blank' en desktop - Los enlaces externos abrirán en nueva ventana/PWA
This commit is contained in:
@@ -46,29 +46,9 @@ export default defineNuxtConfig({
|
||||
launch_handler: {
|
||||
client_mode: 'navigate-existing'
|
||||
},
|
||||
// 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"
|
||||
}
|
||||
],
|
||||
// Capturar enlaces pero respetar target="_blank"
|
||||
// 'none' permite que el navegador maneje los enlaces normalmente
|
||||
capture_links: 'none',
|
||||
icons: [
|
||||
{
|
||||
src: '/icon-192x192.png',
|
||||
|
||||
Reference in New Issue
Block a user