Fixed sandbox. Multiple tabs work now.
WiP on selectable mosaico templates. TODO: Make files always point to trusted URL, such that we don't have to rebase them. They are public anyway. The same goes for mosaico endpoints: /mosaico/templates and /mosaico/img
This commit is contained in:
parent
a4ee1534cc
commit
7788b0bc67
79 changed files with 724 additions and 390 deletions
|
@ -2,6 +2,7 @@ import i18n from 'i18next';
|
|||
import XHR from 'i18next-xhr-backend';
|
||||
// import Cache from 'i18next-localstorage-cache';
|
||||
import mailtrainConfig from 'mailtrainConfig';
|
||||
import {getUrl} from "./urls";
|
||||
|
||||
i18n
|
||||
.use(XHR)
|
||||
|
@ -23,6 +24,10 @@ i18n
|
|||
|
||||
interpolation: {
|
||||
escapeValue: false // not needed for react
|
||||
},
|
||||
|
||||
backend: {
|
||||
loadPath: getUrl('locales/{{lng}}/{{ns}}.json')
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue