Update adminAdapters.js

This commit is contained in:
2018-11-14 12:44:21 +08:00
parent 5a93c26cae
commit 42ea7175b4

View File

@@ -419,7 +419,7 @@ function Adapters(main) {
if (username) {
url = url.replace('https://','https://' +username + ':' + password + '@') + ' --production';
url = url.replace('https://','https://' +username + ':' + password + '@') ;
}
if (url.startsWith("http") && url.endsWith(".git")) url = "git+" + url;
@@ -438,7 +438,7 @@ function Adapters(main) {
return;
}
that.main.cmdExec(null, 'url "' + url + '"' + adapter + debug, function (exitCode) {
that.main.cmdExec(null, 'url "' + url + '"' + ' --production' + adapter + debug, function (exitCode) {
if (!exitCode) {
that.init(true, true);
}