diff --git a/app/assets/javascripts/modeling.js.jsx b/app/assets/javascripts/modeling.js.jsx index 89a4d93e..142a1793 100644 --- a/app/assets/javascripts/modeling.js.jsx +++ b/app/assets/javascripts/modeling.js.jsx @@ -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"; } };