aboutsummaryrefslogtreecommitdiff
path: root/static/index.js
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2025-11-19 18:58:54 +0100
committerNathan Reiner <nathan@nathanreiner.xyz>2025-11-19 18:58:54 +0100
commit25228df6d13b5e8541672c4cdd84e200ff56a4c4 (patch)
tree924cc6bdc00440c6bf592b04602261cdab17d60a /static/index.js
parent4c06eb64cbed3562e428ce59857d1763098638f3 (diff)
add profile settings to backend and add image loader
Diffstat (limited to 'static/index.js')
-rw-r--r--static/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/index.js b/static/index.js
index c84aab9..d5d5c60 100644
--- a/static/index.js
+++ b/static/index.js
@@ -21,7 +21,7 @@ const reload = () => {
image_viewer.clear();
api.images.list().then(images => {
for (const image of images) {
- image_viewer.add(`/api/image/load/${image.id}`);
+ image_viewer.add(image.id);
}
});
}