Merge pull request #7288 from vector-im/bwindels/fixmobileguideloadedonriot

Fix config not loading & mobileguide script being loaded in riot
This commit is contained in:
David Baker
2018-09-05 15:48:04 +01:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -240,7 +240,7 @@ async function loadApp() {
let configJson;
let configError;
try {
configJson = getVectorConfig();
configJson = await getVectorConfig();
} catch (e) {
configError = e;
}

View File

@@ -130,6 +130,7 @@ module.exports = {
// bottom of <head> or the bottom of <body>, and I'm a bit scared
// about moving them.
inject: false,
excludeChunks: ['mobileguide'],
vars: {
og_image_url: og_image_url,
},