ruby on rails - Can't stop localhost:3000 redirecting to https -
my localhost:3000 not open safari saying cannot open page https://localhost:3000 because safari cannot establish secure connection.
this made me realise browser redirecting http https. made sense had added config.force_ssl = true
in config/environments file. had added in both development , production environments seems i've removed development. stopped rails server, , restarted it. it's still redirecting. else might coming from? same result in safari , chrome.
clearing browser cache did indeed fix it. i'll leave question in case others have same problem. @ashvin.
Comments
Post a Comment