Use local kolibriOS image on https. Temporary workaround for #141

This commit is contained in:
copy 2017-04-28 19:15:05 -05:00
parent ec4b19e346
commit 57965ca8c2

View file

@ -11,6 +11,9 @@
/** @const */
var OTHER_HOST = ON_LOCALHOST ? "" : "//j.copy.sh:8880/";
/** @const */
var ON_HTTPS = location.protocol === "https:";
function dump_file(ab, name)
{
if(!(ab instanceof Array))
@ -294,7 +297,7 @@
{
id: "kolibrios",
fda: {
"url": ON_LOCALHOST ?
"url": (ON_LOCALHOST || ON_HTTPS) ?
"images/kolibri.img" :
"//builds.kolibrios.org/eng/data/data/kolibri.img",
"size": 1474560,