StudioProcess / rvp

Research Video is a tool for Artistic Research based on video annotation
https://rv.zhdk.ch
GNU General Public License v3.0
7 stars 4 forks source link

Service workers only allowed on secure origins #174

Open martinleopold opened 6 years ago

martinleopold commented 6 years ago

On http://rv.process.studio I get: main.js:1 DOMException: Only secure origins are allowed (see: https://goo.gl/Y0ZkNV).

Seems like Service Workers need HTTPS. localhost is also a 'secure origin' so local testing should work as well: https://www.chromium.org/blink/serviceworker/service-worker-faq

So should we just force HTTPS on rv.process.studio? I have tried it for https://rv-dev.process.studio and it seems to work just fine.

dinony commented 6 years ago

Yeah, I would force HTTPS. I think there is a certbot plugin for apache.