Fix config.json failing to load for Jitsi wrapper in non-root deployment (#23577)

This commit is contained in:
Michael Telatynski 2022-10-24 13:48:32 +01:00 committed by GitHub
parent b924594c19
commit a3ece528e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 1 deletions

View file

@ -65,7 +65,7 @@ const setupCompleted = (async () => {
try {
// Queue a config.json lookup asap, so we can use it later on. We want this to be concurrent with
// other setup work and therefore do not block.
const configPromise = getVectorConfig('..');
const configPromise = getVectorConfig();
// The widget's options are encoded into the fragment to avoid leaking info to the server.
const widgetQuery = new URLSearchParams(window.location.hash.substring(1));