same-protocol Neopia requests

This commit is contained in:
Matchu 2015-08-05 18:57:08 -04:00
parent 0d88a6dd6f
commit 6682bf2d3b

View file

@ -69,7 +69,7 @@ var Neopia = (function($, I18n) {
if (!host) {
throw "neopia-host meta tag exists, but is empty";
}
Neopia.API_URL = "http://" + host + "/api/1";
Neopia.API_URL = "//" + host + "/api/1";
}
};