Merge pull request #7288 from vector-im/bwindels/fixmobileguideloadedonriot
Fix config not loading & mobileguide script being loaded in riot
This commit is contained in:
commit
736450e184
2 changed files with 2 additions and 1 deletions
|
@ -240,7 +240,7 @@ async function loadApp() {
|
||||||
let configJson;
|
let configJson;
|
||||||
let configError;
|
let configError;
|
||||||
try {
|
try {
|
||||||
configJson = getVectorConfig();
|
configJson = await getVectorConfig();
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
configError = e;
|
configError = e;
|
||||||
}
|
}
|
||||||
|
|
|
@ -130,6 +130,7 @@ module.exports = {
|
||||||
// bottom of <head> or the bottom of <body>, and I'm a bit scared
|
// bottom of <head> or the bottom of <body>, and I'm a bit scared
|
||||||
// about moving them.
|
// about moving them.
|
||||||
inject: false,
|
inject: false,
|
||||||
|
excludeChunks: ['mobileguide'],
|
||||||
vars: {
|
vars: {
|
||||||
og_image_url: og_image_url,
|
og_image_url: og_image_url,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue