summaryrefslogtreecommitdiff
path: root/web-ui/app/js
diff options
context:
space:
mode:
Diffstat (limited to 'web-ui/app/js')
-rw-r--r--web-ui/app/js/main.js2
-rw-r--r--web-ui/app/js/views/i18n.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/web-ui/app/js/main.js b/web-ui/app/js/main.js
index 6f3b3e8c..06eca8dc 100644
--- a/web-ui/app/js/main.js
+++ b/web-ui/app/js/main.js
@@ -17,7 +17,7 @@
'use strict';
requirejs.config({
- baseUrl: '../',
+ baseUrl: '../assets/',
paths: {
'mail_list': 'js/mail_list',
'page': 'js/page',
diff --git a/web-ui/app/js/views/i18n.js b/web-ui/app/js/views/i18n.js
index b09490f5..19327c27 100644
--- a/web-ui/app/js/views/i18n.js
+++ b/web-ui/app/js/views/i18n.js
@@ -24,7 +24,7 @@ define(['i18next'], function(i18n) {
self.get = self;
self.init = function(path) {
- i18n.init({detectLngQS: 'lang', fallbackLng: 'en', lowerCaseLng: true, getAsync: false, resGetPath: path + 'locales/__lng__/__ns__.json'});
+ i18n.init({detectLngQS: 'lang', fallbackLng: 'en', lowerCaseLng: true, getAsync: false, resGetPath: path + 'assets/locales/__lng__/__ns__.json'});
Handlebars.registerHelper('t', self.get.bind(self));
};