From 4f84311bde1c6a4a250c37a995d452107475c64b Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 1 Mar 2019 12:03:04 +0000 Subject: [PATCH] Use $webapp rather than Webapp --- src/languageHandler.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/languageHandler.js b/src/languageHandler.js index cee3822a50..854ac079bc 100644 --- a/src/languageHandler.js +++ b/src/languageHandler.js @@ -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'; }