mirror of
https://github.com/zadam/trilium.git
synced 2026-02-03 20:34:24 +01:00
fix(client): subdir broken due to bootstrap
This commit is contained in:
parent
37381b7c36
commit
51313ff0d5
@ -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 */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user