From a1dfdf789ce01e5f65a1dbf096cfc3f47a6220bc Mon Sep 17 00:00:00 2001 From: Dan Bovey Date: Mon, 28 Sep 2015 19:31:17 +0100 Subject: [PATCH] Remove url prefix --- js/http2pic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/http2pic.js b/js/http2pic.js index 5230611..d0f5e2c 100644 --- a/js/http2pic.js +++ b/js/http2pic.js @@ -3,7 +3,7 @@ $(function() { { $("#showcase_button").attr("disabled","true"); var urlenc = encodeURIComponent(url); - var imageURL = "http://http2pic.haschek.at/api.php?js=no&token=0e316498db6211f940951e"+(urlenc)+"8be8cdf7089770&type=$type&viewport=1200x330&url="+urlenc; + var imageURL = "api.php?js=no&token=0e316498db6211f940951e"+(urlenc)+"8be8cdf7089770&type=$type&viewport=1200x330&url="+urlenc; //$("#intro-header").css('background-image', 'url(\'/img/loading.gif\')'); $("#loading").show();