Service worker is not supported in chrome (69.0.3497.81)

前端 未结 1 1738
情书的邮戳
情书的邮戳 2021-01-05 16:57

I am start working with PWA (Progressive web app). When I try to check service worker is supported or not in chrome browser.It always return false. Below code I used for the

相关标签:
1条回答
  • 2021-01-05 17:19

    This problem is cause due to I am running my application on http://192.168.1.11:8080 but when I switch domain to http://localhost:8080/. it's working fine.

    Chrome requires service workers to be served over https, but allows an exception for localhost for development.

    0 讨论(0)
提交回复
热议问题