【发布时间】:2019-10-15 22:45:14
【问题描述】:
我创建了一个 Angular PWA 应用程序并通过运行:ng build --prod 构建它。
它已成功构建生产就绪应用程序。
我已经通过运行命令在本地运行了构建的应用程序:http-server -o,它按预期运行。
问题:
当我在生产服务器的 tomcat apache webapp 目录中部署并运行它时,我得到:Service worker is not registered or does not control the Start URL。
Service Worker 没有在我的生产环境中注册。
请帮帮我谢谢
【问题讨论】:
标签: angular apache tomcat progressive-web-apps angular-pwa