diff --git a/htdocs/lib/settings/ImageUpload.js b/htdocs/lib/settings/ImageUpload.js index d7c0c18..c158342 100644 --- a/htdocs/lib/settings/ImageUpload.js +++ b/htdocs/lib/settings/ImageUpload.js @@ -49,7 +49,7 @@ $.fn.imageUpload = function() { contentType: 'application/octet-stream', }).done(function(data){ $input.val(data.file); - $img.prop('src', '/imageupload?file=' + data.file); + $img.prop('src', '../imageupload?file=' + data.file); clearError(); }).fail(function(xhr, error){ try {