Implementar link handling y asociación con PWA hub
Some checks failed
build-and-deploy / build (push) Failing after 3s
build-and-deploy / deploy (push) Has been cancelled

- Agregar capture_links en manifest para mejorar experiencia PWA
- Crear archivo .well-known para asociación con inicio.nucleoriofrio.com
- Actualizar Traefik para servir recursos PWA y .well-known sin autenticación
This commit is contained in:
2025-10-17 02:15:20 -06:00
parent 93668d9b6f
commit f00fa92616
3 changed files with 15 additions and 3 deletions

View File

@@ -32,9 +32,9 @@ services:
# Service
- "traefik.http.services.${APP_NAME}.loadbalancer.server.port=3000"
# Router para assets estáticos de Nuxt (sin autenticación) - mayor prioridad
# SOLO /_nuxt/* para que la aplicación funcione
- "traefik.http.routers.${APP_NAME}-public.rule=Host(`${APP_DOMAIN}`) && PathPrefix(`/_nuxt`)"
# Router para assets estáticos de Nuxt y PWA (sin autenticación) - mayor prioridad
# Incluye recursos PWA y .well-known para scope extensions
- "traefik.http.routers.${APP_NAME}-public.rule=Host(`${APP_DOMAIN}`) && (PathPrefix(`/_nuxt`) || PathPrefix(`/.well-known`) || PathPrefix(`/icons`) || Path(`/manifest.webmanifest`) || Path(`/sw.js`) || PathPrefix(`/workbox-`) || Path(`/favicon.ico`))"
- "traefik.http.routers.${APP_NAME}-public.entrypoints=websecure"
- "traefik.http.routers.${APP_NAME}-public.tls=true"
- "traefik.http.routers.${APP_NAME}-public.tls.certresolver=letsencrypt"