1
0
Fork 0

do not return dev-app-path in non-development mode

This commit is contained in:
Jan Steemann 2013-11-01 14:15:45 +01:00
parent 777a4ecb7e
commit 09967f45ec
1 changed files with 1 additions and 1 deletions

View File

@ -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 });