idevelop / ascii-camera

Real-time ASCII representation of your webcam video stream, using the getUserMedia API.
https://andrei.codes/ascii-camera/
MIT License
1.36k stars 236 forks source link

Http don't work anymore #5

Closed jcubic closed 7 years ago

jcubic commented 7 years ago

Camera don't work anymore for http in Chrome/Chromium. You can fix it by adding message and link to use https.

The link in duck duck go for the website link to http version.

idevelop commented 7 years ago

@jcubic I fixed this a while ago and afaict have updated all links to be https already. Do you know of any that is still http? I wasn't aware that duck duck go hasn't yet updated their index, I'll check if there's any way to ask them to reindex. Since I host on GitHub, I don't think I have access to return a 301 redirect on the http URL.

jcubic commented 7 years ago

You can create a banner, hide it by default and show it when location.protocol == "http:"

idevelop commented 7 years ago

Well at that point I could just as well force redirect to https, which is not a bad idea at all but it still doesn't solve the issue of being wrongly indexed. I'll put in a redirect today. Thanks for flagging!

idevelop commented 7 years ago

Done. Thanks again!