Redirect all .me pages to https

Hey there, I was working on some projects that involved mic access, and spent like a whole day trying to figure out why it wouldn’t work, and it was because I had typed in the Glitch project URL originally on my phone and continued to use http.

Is there a reason you wouldn’t redirect all glitch projects to use https?
Is this a feature or a bug?

You can redirct your page to https by using JavaScript:

if (location.protocol === "http:") {
  location.replace(window.location.href.replace("http:", "https:"));
}
2 Likes

Give some credit here man.

2 Likes