Fixed axios not defined issue.

merge-requests/7/head
Menaka Jayawardena 7 years ago
parent ed2af13836
commit 8b310786b9

@ -45,7 +45,7 @@ function loadPublisher() {
registerServiceWorker();
}).catch(error => {
addLocaleData(require('react-intl/locale-data/en'));
let defaultLocale = axios.create({
let defaultLocale = Axios.create({
baseURL: Configuration.hostConstants.baseURL + "/" + Configuration.hostConstants.appContext + "/locales"
+ Constants.defaultLocale + ".json"
}).get();

Loading…
Cancel
Save