Haiti-Distributed-Healthcare-System / hdhs

Haiti Distributed Healthcare System
3 stars 0 forks source link

Optimize PWA to redirect http -> https #24

Closed abpwrs closed 4 years ago

abpwrs commented 4 years ago

We should enforce the usage of https. Also, this is the only component that is failing in the lighthouse ci checklist as of the creation of this issue.

This is done when a device on the same network as the server for the site can connect over https, instead of http. Probably will need to apply for and save a TLS Cert

bmitchinson commented 4 years ago

image

HTTPS will also enable our service worker

bmitchinson commented 4 years ago

https://www.npmjs.com/package/serve-https

bmitchinson commented 4 years ago

https://github.com/billz/raspap-webgui/issues/513

Waiting on this issue. for some reason the cert won't sign. using http for now.