SecurityError: The operation is insecure - window.history.pushState()

前端 未结 9 2118
我寻月下人不归
我寻月下人不归 2020-11-28 08:56

I\'m getting this error in Firefox\'s Console: SecurityError: The operation is insecure and the guilty is HTML5 feature: window.history.pushState()

9条回答
  •  清歌不尽
    2020-11-28 09:32

    replace serviceWorker.unregister() to serviceWorker.register() in index.js file

提交回复
热议问题