Implementar link handling y asociación con PWA hub
- Agregar capture_links en manifest para mejorar experiencia PWA - Crear archivo .well-known para asociación con inicio.nucleoriofrio.com - Configurar Traefik para servir .well-known sin autenticación
This commit is contained in:
@@ -20,8 +20,9 @@ services:
|
||||
# Router público para recursos PWA ESTÁTICOS (sin autenticación)
|
||||
# IMPORTANTE: Solo assets estáticos (JS, CSS, iconos, manifest, SW)
|
||||
# Las APIs (/api/*) NO están aquí - están protegidas abajo
|
||||
# Incluye .well-known para scope extensions
|
||||
# ==========================================
|
||||
- "traefik.http.routers.musica-nucleoriofrio-public.rule=Host(`musica.nucleoriofrio.com`) && (PathPrefix(`/_nuxt`) || PathPrefix(`/assets`) || Path(`/sw.js`) || PathPrefix(`/workbox-`) || Path(`/manifest.webmanifest`) || Path(`/manifest.json`) || Path(`/robots.txt`) || Path(`/favicon.ico`) || Path(`/logo.png`) || Path(`/logo-192.png`) || Path(`/logo-512.png`) || Path(`/logo-maskable-512.png`) || Path(`/icon.svg`)) && !PathPrefix(`/api/`)"
|
||||
- "traefik.http.routers.musica-nucleoriofrio-public.rule=Host(`musica.nucleoriofrio.com`) && (PathPrefix(`/_nuxt`) || PathPrefix(`/assets`) || PathPrefix(`/.well-known`) || Path(`/sw.js`) || PathPrefix(`/workbox-`) || Path(`/manifest.webmanifest`) || Path(`/manifest.json`) || Path(`/robots.txt`) || Path(`/favicon.ico`) || Path(`/logo.png`) || Path(`/logo-192.png`) || Path(`/logo-512.png`) || Path(`/logo-maskable-512.png`) || Path(`/icon.svg`)) && !PathPrefix(`/api/`)"
|
||||
- "traefik.http.routers.musica-nucleoriofrio-public.entrypoints=websecure"
|
||||
- "traefik.http.routers.musica-nucleoriofrio-public.tls.certresolver=letsencrypt"
|
||||
- "traefik.http.routers.musica-nucleoriofrio-public.priority=100"
|
||||
|
||||
Reference in New Issue
Block a user