mirror of
https://github.com/zadam/trilium.git
synced 2026-07-06 10:17:56 +02:00
fix(client): subdir broken due to bootstrap
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user