我创建了一个具有 PWA 生成属性的 KB。
“manifest”和“service-worker”文件是正常创建的。
在本地主机上它可以工作,我们没有做任何额外的配置
部署到在 SSL 下运行的云(Azure / Google)时,无法注册服务工作者。我收到以下错误:
Adjust the scope, move the Service Worker script, or use the Service-Worker-Allowed HTTP header to allow the scope.
“manifest”和“service-worker.js”文件位于“webapps/project/static”目录下。
有什么建议吗?
谢谢
Gx17up3 tomcat 8.5-java-postgresql