From a9e67c70357b467ce803b4ed7a2d3a02b619f6d1 Mon Sep 17 00:00:00 2001 From: Willi Ballenthin Date: Fri, 9 Aug 2024 21:03:34 +0200 Subject: [PATCH] web: explorer: use relative URLs ref: https://github.com/mandiant/capa/issues/2266 --- web/explorer/vite.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/explorer/vite.config.js b/web/explorer/vite.config.js index 2df1e5db8..08baa1c92 100644 --- a/web/explorer/vite.config.js +++ b/web/explorer/vite.config.js @@ -8,7 +8,7 @@ export default defineConfig(({ command, mode }) => { const isBundle = mode === "bundle"; return { - base: isBundle ? "/" : "/capa/", + base: isBundle ? "./", plugins: isBundle ? [vue(), viteSingleFile()] : [vue()], resolve: { alias: {