fix(client): subdir broken due to bootstrap

This commit is contained in:
Elian Doran 2026-01-28 22:27:02 +02:00
parent 37381b7c36
commit 51313ff0d5
No known key found for this signature in database

View File

@ -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 */