From 8d7252c0f9e002bd114e5ca8b6f70ae3b06c026f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Rynning-T=C3=B8nnesen?= Date: Fri, 1 Dec 2017 11:51:20 +0100 Subject: [PATCH] More general address for fetching image --- server/public/assets/js/list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/public/assets/js/list.js b/server/public/assets/js/list.js index a2f86e93..4e181644 100755 --- a/server/public/assets/js/list.js +++ b/server/public/assets/js/list.js @@ -582,7 +582,7 @@ var List = { var playlist_id = response.id; $.ajax({ type: "GET", - url: "https://zoff.me/assets/images/small-square.base64.txt", + url: window.location.protocol + "//" + window.location.hostname + "/assets/images/small-square.base64.txt", success: function(base64image) { var image = base64image.substring(0, base64image.length - 1); $.ajax({