diff options
author | Anike Arni <aarni@thoughtworks.com> | 2017-02-16 18:51:26 -0200 |
---|---|---|
committer | Anike Arni <aarni@thoughtworks.com> | 2017-02-16 18:51:26 -0200 |
commit | 957599ae01687d6b3d02a3c34fdbe2ac6bd920f9 (patch) | |
tree | 7612fa7cfd33bd9657bce0eb9e8db47b076cedcc /web-ui/src/i18n.js | |
parent | 64780114ae90bb890d3ffa0a9aebe4686c6b74d3 (diff) |
[#907] Bundles login static files separately
Due to conflicts with public and protected urls, login and interstitial
files have to be on a different public url from inbox and resources that
require login. Therefore, here, we delegate that logic to webpack. Now
we have a '/public' url and a '/assets' url for those static assets.
Diffstat (limited to 'web-ui/src/i18n.js')
-rw-r--r-- | web-ui/src/i18n.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web-ui/src/i18n.js b/web-ui/src/i18n.js index bbbe2dcd..64c7b8a1 100644 --- a/web-ui/src/i18n.js +++ b/web-ui/src/i18n.js @@ -32,7 +32,7 @@ i18n .init({ fallbackLng: 'en_US', backend: { - loadPath: 'assets/locales/{{lng}}/{{ns}}.json' + loadPath: 'public/locales/{{lng}}/{{ns}}.json' } }); |