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>)",
|
||||
[ [ "Mount path", "string" ] ],
|
||||
[ mount ] );
|
||||
utils.validateMount(mount);
|
||||
var app = _toggleDevelopment(mount, true);
|
||||
return app.simpleJSON();
|
||||
};
|
||||
|
@ -838,7 +837,6 @@
|
|||
"setProduction(<mount>)",
|
||||
[ [ "Mount path", "string" ] ],
|
||||
[ mount ] );
|
||||
utils.validateMount(mount);
|
||||
var app = _toggleDevelopment(mount, false);
|
||||
return app.simpleJSON();
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue