Fixed axios not defined issue.

feature/appm-store/pbac
Menaka Jayawardena 7 years ago
parent ed2af13836
commit 8b310786b9

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

Loading…
Cancel
Save