so i have some json file that grabs the value from config/development.rb
In my development.rb i have this line
config.base_root_url = "XXXXXXsome URLXXXXXXX"
and in my json.jbuilder file at views i have this line
url: Rails.application.config.base_root_url + "views/somesite"
How come, when I change the config.base_root_url value it is not reflected on my nginx hosted domain. but on Localhost , it shows my changes ? i tried restarting my nginx server but its still the same.
via Napmi
No comments:
Post a Comment