vendredi 26 janvier 2018

Can a polymer 2.0 pwa be served over https?

I am trying to build my first progressive web app, using the polymer 2.0 CLI. I am trying to make my app to load an NPM package, but the console was showing an error when loading it. I think I resolved this issue by moving the dependency into a different directory, as I no longer receive that error in the console. However, my package still isn't executing it's intended purpose. I think this is because polymer serve serves on HTTP by default, while my package seems to require HTTPS. I looked at these articles on the polymer website (https://developers.google.com/web/updates/2014/11/Support-for-installable-web-apps-with-webapp-manifest-in-chrome-38-for-Android , https://www.polymer-project.org/2.0/toolbox/), but they don't seem to refer to HTTPS at all. Am I on a wild goose chase, trying to serve over HTTPS?




Aucun commentaire:

Enregistrer un commentaire