mirror of https://github.com/vector-im/riot-web
Merge pull request #7288 from vector-im/bwindels/fixmobileguideloadedonriot
Fix config not loading & mobileguide script being loaded in riotpull/7093/merge
commit
736450e184
|
@ -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 New Issue