Skip to content

Build your personal knowledge base with Trilium Notes

fix(client): subdir broken due to bootstrap

Elian Doran51313ff0d581
diff --git a/apps/client/src/index.ts b/apps/client/src/index.ts
index c42ac5d3e9..fba6e17d7e 100644
--- a/apps/client/src/index.ts
+++ b/apps/client/src/index.ts
@@ -30,7 +30,7 @@ async function initJQuery() {
}
async function setupGlob() {
- const response = await fetch(`/bootstrap${window.location.search}`);
+ const response = await fetch(`./bootstrap${window.location.search}`);
const json = await response.json();
window.global = globalThis; /* fixes https://github.com/webpack/webpack/issues/10035 */