In the console, development mode:
ActionController::Base.asset_host
=> 192.168.2.55
which happens to be a previous DHCP address.
I checked:
RAILS_ROOT/config/environments/development.rb
RAILS_ROOT/config/environment.rb
... and there is nothing set here. Even if I add
config.action_controller.asset_host = "http://12开发者_StackOverflow社区7.0.0.1"
to development.rb, I get the old DHCP address. I've tried clearing browser caches, name server caches, but am out of ideas.
The culprit is RAILS_ROOT/config/facebooker.yml
callback_url: http://192.168.2.55
精彩评论