Commit 810cbcdd authored by Juorder Gonzalez's avatar Juorder Gonzalez Committed by Juorder Antonio

enable again get config via parse rest api

parents 54886d17 dcbfebdd
......@@ -66,7 +66,7 @@
"sass-loader": "3.2.0",
"style-loader": "0.13.1",
"url-loader": "0.5.7",
"webpack": "webpack/webpack#master"
"webpack": "2.1.0-beta.6"
},
"scripts": {
"check": "eslint --ext \".jsx\" --ignore-pattern node_modules --quiet .",
......
module.exports = {"main":{"js":"/451280bundle.js"}}
\ No newline at end of file
module.exports = {"main":{"js":"/785572bundle.js"}}
\ No newline at end of file
// eslint-disable
// scss-lint:disable all
body {
&.stop-scrolling {
......@@ -698,3 +698,5 @@ body {
}
@import 'loader_animation';
// scss-lint:enable all
......@@ -75,8 +75,13 @@ function initZimbra() {
export function getClientConfig(success, error) {
return $.ajax({
url: '/config/config.json',
url: 'https://manager-api.zboxapp.com/parse/functions/getConfigManager',
dataType: 'json',
method: 'POST',
headers: {
'X-Parse-Application-Id': 'salesZboxManagerApp'
},
data: {target: 'manager'},
success,
error: function onError(xhr, status, err) {
var e = handleError('getClientConfig', err);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment