mirror of https://gitee.com/bigwinds/arangodb
do not return dev-app-path in non-development mode
This commit is contained in:
parent
777a4ecb7e
commit
09967f45ec
|
@ -272,7 +272,7 @@ actions.defineHttp({
|
|||
callback : function (req, res) {
|
||||
var result = {
|
||||
appPath: module.appPath(),
|
||||
devAppPath: module.devAppPath()
|
||||
devAppPath: internal.developmentMode ? module.devAppPath() : null
|
||||
};
|
||||
|
||||
actions.resultOk(req, res, actions.HTTP_OK, { result: result });
|
||||
|
|
Loading…
Reference in New Issue