mbasso / react-https-redirect

Force a redirect to HTTPS when not on a local web server
MIT License
34 stars 16 forks source link

Prop to disable redirect #11

Closed fabiosantoscode closed 5 years ago

fabiosantoscode commented 5 years ago

Use case: I'm testing my app locally with charles proxy, and using HTTPS with charles proxy is a bit of a bummer for me.

So I'd like to have a prop, so I can do disabled={!!process.env.REACT_APP_NO_HTTPS}

mbasso commented 5 years ago

Hi, sure, I’ll develop and ship a new version as soon as possibile!

mbasso commented 5 years ago

Just released react-https-redirect@1.1.0 🎉