Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

149
Vistas
what the difference between manifest scope/start_url and ServiceWorkerModule.register scope?

I'm touching the pwa in angular 11 . When implementing , I noticed that there are two scope defination in pwa :

  1. in manifest.webmanifest , scope and start_url to define what scope the ngsw-worker.js should handle

    { ... "scope": "./", "start_url": "./",

  2. in app.module.ts , another scope

    ServiceWorkerModule.register("ngsw-worker.js", { enabled: environment.production, scope: "./xxxxx/", registrationStrategy: "registerImmediately", })

Could anyone tell me what the difference among them ? quite confused which one to set as what.

My application is a spa but deployed at a subdomain as /xxxxx/ so, in this case , How should I set?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda