web: refactor and add support for laoding remote .gz using rdoc query param

This commit is contained in:
Soufiane Fariss
2024-08-20 23:27:53 +02:00
parent b3dd76adff
commit 8fd90883b4
2 changed files with 54 additions and 52 deletions
@@ -80,7 +80,7 @@ const isBundle = import.meta.env.MODE === "bundle";
defineEmits(["load-from-local", "load-from-url"]);
const dynamicURL =
"https://raw.githubusercontent.com/mandiant/capa-testfiles/master/rd/0000a65749f5902c4d82ffa701198038f0b4870b00a27cfca109f8f933476d82.json";
"https://raw.githubusercontent.com/mandiant/capa-testfiles/master/rd/0000a65749f5902c4d82ffa701198038f0b4870b00a27cfca109f8f933476d82.json.gz";
const staticURL = "https://raw.githubusercontent.com/mandiant/capa-testfiles/master/rd/al-khaser_x64.exe_.json";
</script>