From ec110deae7bb2de1ff1c6a16cb2be6daecf6b67b Mon Sep 17 00:00:00 2001 From: Ruben van de Ven Date: Thu, 23 Feb 2023 19:07:12 +0100 Subject: [PATCH] fix annotator --- app/www/annotate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/www/annotate.js b/app/www/annotate.js index d35849b..d20da63 100644 --- a/app/www/annotate.js +++ b/app/www/annotate.js @@ -487,7 +487,7 @@ class Annotator extends EventTarget { .then(data => { if (!this.config.is_player) { - const metadata_req = new Request(`/ annotations / ${data.file} `, { + const metadata_req = new Request(`/annotations/${data.file}`, { method: 'GET', }); return fetch(metadata_req)