diff options
| author | jules <jules@okfoc.us> | 2014-01-26 04:38:18 -0500 |
|---|---|---|
| committer | jules <jules@okfoc.us> | 2014-01-26 04:38:18 -0500 |
| commit | c030a4c619c4fc6182cc9b266241ce1970174a40 (patch) | |
| tree | c093bb285e64946845e2e64a2de700944f7ed205 /js/image.js | |
| parent | c3470d02a57396e92a71d3cfb072e655ccb51780 (diff) | |
try to proxy https as http
Diffstat (limited to 'js/image.js')
| -rw-r--r-- | js/image.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |
