summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/media/static/image-preview.js2
-rw-r--r--app/utils/static/image-loader.js4
2 files changed, 3 insertions, 3 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);
diff --git a/app/utils/static/image-loader.js b/app/utils/static/image-loader.js
index 5a5b3b4..ca96565 100644
--- a/app/utils/static/image-loader.js
+++ b/app/utils/static/image-loader.js
@@ -13,9 +13,9 @@ function add_images(){
var loop = Number(element.dataset.loopcounter);
if (cur != "") {
if (loop <= 100) {
- console.log('/photos/luximage/data/admin/tn/'+cur+'/');
+ console.log('/photos/data/admin/tn/'+cur+'/');
var request = new XMLHttpRequest();
- request.open('GET', '/photos/luximage/data/admin/tn/'+cur+'/', true);
+ request.open('GET', '/photos/data/admin/tn/'+cur+'/', true);
request.onload = function() {
if (request.status >= 200 && request.status < 400) {
var data = JSON.parse(request.responseText);