Browse Source

修改端口号

lan 3 years ago
parent
commit
65b81161b4
1 changed files with 2 additions and 2 deletions
  1. 2 2
      gulpfile.js

+ 2 - 2
gulpfile.js

@@ -48,7 +48,7 @@ const knownOptions = {
 const options = minimist(process.argv.slice(2), knownOptions)
 const resServerConfig = {
     host: options.debugBool == 'true' || options.releaseBool == 'true' ? '47.107.63.156' : '47.107.63.156',
-    port: 21,
+    port: 22,
     username: 'root',
     privateKey: fs.readFileSync('D:\\cer\\id_rsa'),
 }
@@ -57,7 +57,7 @@ let getGulpSSH = (isTest = true) => {
         ignoreErrors: false,
         sshConfig: {
             host: isTest ? '47.107.63.156' : '47.107.63.156',
-            port: 21,
+            port: 22,
             username: 'root',
             privateKey: fs.readFileSync('D:\\cer\\id_rsa'),
         },