From 5c911738b283461867892e354a5a3c1776597951 Mon Sep 17 00:00:00 2001 From: lxf Date: Mon, 9 May 2022 11:17:52 -0400 Subject: media: fixed thumbnail preview in admin image select widget --- app/media/static/image-preview.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/media') diff --git a/app/media/static/image-preview.js b/app/media/static/image-preview.js index b8fead5..c829084 100644 --- a/app/media/static/image-preview.js +++ b/app/media/static/image-preview.js @@ -11,7 +11,7 @@ function build_image_preview () { var img = document.createElement("img"); var request = new XMLHttpRequest(); - request.open('GET', '/photos/luximage/data/admin/preview/'+cur+'/', true); + request.open('GET', '/photos/data/admin/preview/'+cur+'/', true); request.onload = function() { if (request.status >= 200 && request.status < 400) { var data = JSON.parse(request.responseText); -- cgit v1.2.3-70-g09d2