mirror of https://gitee.com/bigwinds/arangodb
Fixed a bug with upgrade and replace of foxx apps from local files. Closes #1292
This commit is contained in:
parent
7758250f2b
commit
7d3ad7ee46
|
@ -367,6 +367,9 @@
|
|||
[ appInfo, mount ] );
|
||||
|
||||
utils.validateMount(mount);
|
||||
if (utils.pathRegex.test(appInfo)) {
|
||||
appInfo = moveAppToServer(appInfo);
|
||||
}
|
||||
var res;
|
||||
var req = {
|
||||
appInfo: appInfo,
|
||||
|
@ -396,6 +399,9 @@
|
|||
[ "Mount path", "string" ] ],
|
||||
[ appInfo, mount ] );
|
||||
utils.validateMount(mount);
|
||||
if (utils.pathRegex.test(appInfo)) {
|
||||
appInfo = moveAppToServer(appInfo);
|
||||
}
|
||||
var res;
|
||||
var req = {
|
||||
appInfo: appInfo,
|
||||
|
|
Loading…
Reference in New Issue