Note from 2nd March 2020

Tried to write a fresh new #ServiceWorker with #Workbox 5 and #Rollup (first time ever), almost copy/pasted from what @jeffposnick did in https://github.com/GoogleChromeLabs/so-pwa but I get a strange error reporting mixed content… 😥

2 Webmentions

2 replies

  1. Jeff Posnick avatar Jeff Posnick
    Can you check your web server setup? It looks like a request for /index.html results in a 301 Redirect for /.

    That 301 Redirect switches the scheme from https:// to http://
  2. Nicolas Hoizey avatar Nicolas Hoizey
    OMG, that’s it! 🤦‍♂️

    I forgot to add explicit HTTPS to some of my numerous redirections performed by Apache, which only sees HTTP, behind a HTTPS proxy:
    github.com/nhoizey/nicola…

    Thanks a lot Jeff! 👍