same-protocol Neopia requests
This commit is contained in:
parent
0d88a6dd6f
commit
6682bf2d3b
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ var Neopia = (function($, I18n) {
|
||||||
if (!host) {
|
if (!host) {
|
||||||
throw "neopia-host meta tag exists, but is empty";
|
throw "neopia-host meta tag exists, but is empty";
|
||||||
}
|
}
|
||||||
Neopia.API_URL = "http://" + host + "/api/1";
|
Neopia.API_URL = "//" + host + "/api/1";
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue