Agregar mejoras PWA y unificar workflow a 1 job
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 4m32s
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 4m32s
- Agregar id único (/?app=analitica), launch_handler, handle_links y url_handlers - Unificar workflow de 2 jobs (build + deploy) a 1 solo job - Workaround para bug de Gitea que solo ejecuta el primer job
This commit is contained in:
@@ -81,6 +81,7 @@ export default defineNuxtConfig({
|
||||
strategies: 'generateSW',
|
||||
manifestFilename: 'manifest.webmanifest',
|
||||
manifest: {
|
||||
id: '/?app=analitica',
|
||||
name: 'Analítica Núcleo Data Studio',
|
||||
short_name: 'Analítica',
|
||||
description: 'Explora y valida tus tablas Supabase desde un único panel en modo lectura.',
|
||||
@@ -89,8 +90,17 @@ export default defineNuxtConfig({
|
||||
display: 'standalone',
|
||||
background_color: '#1b1209',
|
||||
theme_color: '#c08040',
|
||||
// Control de ventanas - mantener una sola ventana
|
||||
launch_handler: {
|
||||
client_mode: 'navigate-existing'
|
||||
},
|
||||
// Capturar enlaces dentro de la app
|
||||
capture_links: 'existing-client-navigate',
|
||||
// URL handling - nuevo estándar para manejar links a esta PWA
|
||||
handle_links: 'preferred',
|
||||
url_handlers: [
|
||||
{ origin: 'https://analitica.nucleoriofrio.com' }
|
||||
],
|
||||
icons: [
|
||||
{ src: '/icons/icon-192.png', sizes: '192x192', type: 'image/png' },
|
||||
{ src: '/icons/icon-512.png', sizes: '512x512', type: 'image/png' },
|
||||
|
||||
Reference in New Issue
Block a user