ruby on rails - website is redirected to "https" in firefox(it is normal in other browser) -


I am opening my website in firefox , but due to something wrong in my website , The url force is redirected to https (I think this is because I have config.force_ssl = true in Ruby on Ruby I write the application.)

But when I re-deploy another Ruby on the Rail application, Firefox still redirects to https . Not, I firefox How can I create a https ?

This is a browser caching problem.

Redirects to the Rail Web site using HTTP status 301 (HTTP Permanently ), the redirect is cached by Firefox.

Host always localhost , Firefox can not distinguish between individual rail applications.

To resolve this problem, try to empty the cache and / or use the private browsing mode for testing.

I do not know about Firefox, but in Chrome the developer has the option to disable caching completely, as long as the Dev Tools are open.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -