Force refresh after a new version update #15124
-
Hi I read here: #13176 Where should I create this file? in the reply I saw this folder: Also, in the site I saw this:
In my quasar.config.js I have the following because while developing/debugging, I'm running locally on http:8080
When I upload the dist/spa folder to my site, where it is running under https:port, the site is up and running as expected with https so should I change the above settings to what it says in the site or not? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
https://quasar.dev/quasar-cli-webpack/developing-pwa/handling-service-worker#ssl-certificate
It says some, not all. So, if HTTP works for you in your local environment, then it's fine, you don't have to do anything. In production, you must use HTTPS(which seems like you already do), but it's related to your web server configuration, |
Beta Was this translation helpful? Give feedback.
src/pwa
was a typo, you already should have a file calledsrc-pwa/register-service-worker.js
, so use it, that's the correct file.https://quasar.dev/quasar-cli-webpack/developing-pwa/handling-service-worker#ssl-certificate
It says some, not all. So, if HTTP works for you in your local e…