You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-19 20:23:18 +03:00
Use $webapp rather than Webapp
This commit is contained in:
@ -340,8 +340,8 @@ function getLangsJson() {
|
||||
return new Promise((resolve, reject) => {
|
||||
let url;
|
||||
try {
|
||||
// Webapp is a webpack resolve alias pointing to the output directory, see webpack config
|
||||
url = require('Webapp/i18n/languages.json');
|
||||
// $webapp is a webpack resolve alias pointing to the output directory, see webpack config
|
||||
url = require('$webapp/i18n/languages.json');
|
||||
} catch (e) {
|
||||
url = i18nFolder + 'languages.json';
|
||||
}
|
||||
|
Reference in New Issue
Block a user