Closed geluso closed 12 years ago
Find everywhere in the code where javascript mentions:
document.location = "http://pomme.us/" + ...
and replace it with
var BASE_URL = "http://pomme.us/" document.location = BASE_URL + ...
this will make it easier for us to run our code locally, when javascript is interacting with a host different than production.
Consider placing the BASE_URL in another file to reduce the chance that we rewrite the value of the server in production when we edit files locally.
This issue has been resolved with this commit.
https://github.com/frdrck/Pomme/commit/e82fbf29e2a4f34a09603fe7a7ac7729d135290e
Find everywhere in the code where javascript mentions:
document.location = "http://pomme.us/" + ...
and replace it with
var BASE_URL = "http://pomme.us/" document.location = BASE_URL + ...
this will make it easier for us to run our code locally, when javascript is interacting with a host different than production.
Consider placing the BASE_URL in another file to reduce the chance that we rewrite the value of the server in production when we edit files locally.