summaryrefslogtreecommitdiff
path: root/app/media/static
diff options
context:
space:
mode:
authorlxf <sng@luxagraf.net>2022-05-09 11:17:52 -0400
committerlxf <sng@luxagraf.net>2022-05-09 11:17:52 -0400
commit5c911738b283461867892e354a5a3c1776597951 (patch)
tree7e765d9b354a2c9f6ea09d94892b1c54eba1af6c /app/media/static
parent9043217994b9b447ae73d16247e95e6f0a81b854 (diff)
media: fixed thumbnail preview in admin image select widget
Diffstat (limited to 'app/media/static')
-rw-r--r--app/media/static/image-preview.js2
1 files changed, 1 insertions, 1 deletions
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);