mirror of https://gitee.com/bigwinds/arangodb
fixed teardown
This commit is contained in:
parent
52af46542e
commit
780ae83d58
|
@ -737,7 +737,7 @@ exports.unmount = function (key) {
|
||||||
var res = arango.POST("/_admin/foxx/unmount", JSON.stringify(req));
|
var res = arango.POST("/_admin/foxx/unmount", JSON.stringify(req));
|
||||||
arangosh.checkRequestResult(res);
|
arangosh.checkRequestResult(res);
|
||||||
|
|
||||||
return { appdId: res.appId, mount: res.mount, collectionPrefix: res.collectionPrefix };
|
return { appId: res.appId, mount: res.mount, collectionPrefix: res.collectionPrefix };
|
||||||
};
|
};
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
|
@ -427,6 +427,9 @@ function routingAalApp (app, mount, prefix, dev) {
|
||||||
collectionPrefix: prefix, // collection prefix
|
collectionPrefix: prefix, // collection prefix
|
||||||
appModule: app.createAppModule(), // app module
|
appModule: app.createAppModule(), // app module
|
||||||
|
|
||||||
|
isDevelopment: devel,
|
||||||
|
isProduction: ! devel,
|
||||||
|
|
||||||
routingInfo: {},
|
routingInfo: {},
|
||||||
foxxes: []
|
foxxes: []
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue