mirror of https://gitee.com/bigwinds/arangodb
Removed mount validation for switching from devel to production. This dissallowed to put system apps in development mode
This commit is contained in:
parent
cf5e3db098
commit
9df4fc8121
|
@ -824,7 +824,6 @@
|
||||||
"setDevelopment(<mount>)",
|
"setDevelopment(<mount>)",
|
||||||
[ [ "Mount path", "string" ] ],
|
[ [ "Mount path", "string" ] ],
|
||||||
[ mount ] );
|
[ mount ] );
|
||||||
utils.validateMount(mount);
|
|
||||||
var app = _toggleDevelopment(mount, true);
|
var app = _toggleDevelopment(mount, true);
|
||||||
return app.simpleJSON();
|
return app.simpleJSON();
|
||||||
};
|
};
|
||||||
|
@ -838,7 +837,6 @@
|
||||||
"setProduction(<mount>)",
|
"setProduction(<mount>)",
|
||||||
[ [ "Mount path", "string" ] ],
|
[ [ "Mount path", "string" ] ],
|
||||||
[ mount ] );
|
[ mount ] );
|
||||||
utils.validateMount(mount);
|
|
||||||
var app = _toggleDevelopment(mount, false);
|
var app = _toggleDevelopment(mount, false);
|
||||||
return app.simpleJSON();
|
return app.simpleJSON();
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue