Agregar mejoras PWA y unificar workflow a 1 job
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 40s
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 40s
- Agregar id único (/?app=musica), 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:
@@ -183,6 +183,7 @@ export default defineNuxtConfig({
|
||||
navigateFallback: '/'
|
||||
},
|
||||
manifest: {
|
||||
id: '/?app=musica',
|
||||
name: 'RepoDructor Music Player',
|
||||
short_name: 'RepoDructor',
|
||||
description: 'A beautiful glassmorphism music player for your local network',
|
||||
@@ -195,8 +196,17 @@ export default defineNuxtConfig({
|
||||
categories: ['music', 'entertainment'],
|
||||
lang: 'es',
|
||||
dir: 'ltr',
|
||||
// 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://musica.nucleoriofrio.com' }
|
||||
],
|
||||
icons: [
|
||||
{
|
||||
src: '/logo-192.png',
|
||||
|
||||
Reference in New Issue
Block a user