fix annotator

This commit is contained in:
Ruben van de Ven 2023-02-23 19:07:12 +01:00
parent 960e9f7132
commit ec110deae7

View file

@ -487,7 +487,7 @@ class Annotator extends EventTarget {
.then(data => { .then(data => {
if (!this.config.is_player) { if (!this.config.is_player) {
const metadata_req = new Request(`/ annotations / ${data.file} `, { const metadata_req = new Request(`/annotations/${data.file}`, {
method: 'GET', method: 'GET',
}); });
return fetch(metadata_req) return fetch(metadata_req)