diff --git a/js/fileUtils.ts b/js/fileUtils.ts index 5ceedc3a..22004fe9 100644 --- a/js/fileUtils.ts +++ b/js/fileUtils.ts @@ -13,10 +13,6 @@ export function genMediaTags( file != null, "Attempted to get the tags of media file without passing a file" ); - // Workaround https://github.com/aadsm/jsmediatags/issues/83 - if (typeof file === "string" && !/^[a-z]+:\/\//i.test(file)) { - file = `${location.protocol}//${location.host}${location.pathname}${file}`; - } const options = { duration: true,