Commit 75c38c2b authored by Rafael Masoni's avatar Rafael Masoni
Browse files

Trying to solve Twitter Authentication failure on production by adding Heroku's URL to OAuth

parent 97de187d
......@@ -5,6 +5,7 @@ end
if Rails.env.production?
OmniAuth.config.full_host = "http://railspg.com"
OmniAuth.config.full_host = "http://railspg-rpg.herokuapp.com"
else
OmniAuth.config.full_host = "http://localhost:3000"
OmniAuth.config.full_host = "http://railspg.dev"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment