Commit b743c36a authored by Juorder Gonzalez's avatar Juorder Gonzalez Committed by GitHub

Merge pull request #254 from ZBoxApp/manager_beta_v2

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
......@@ -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