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
commit 736450e184
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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,
},