From c030a4c619c4fc6182cc9b266241ce1970174a40 Mon Sep 17 00:00:00 2001 From: jules Date: Sun, 26 Jan 2014 04:38:18 -0500 Subject: try to proxy https as http --- js/image.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/image.js') diff --git a/js/image.js b/js/image.js index 1f36473..3138299 100644 --- a/js/image.js +++ b/js/image.js @@ -38,7 +38,7 @@ function giveImage(t) { function proxify (url) { if (url.indexOf("http") == 0) - return "/cgi-bin/proxy?" + url.replace(/^https?:\/\//, ""); + return "/cgi-bin/proxy?" + url.replace(/^https/, "http"); else return url } -- cgit v1.2.3-70-g09d2