Browse Source

all:<feat>新增蜡笔森林自动发布地址

YaolongHan 4 years ago
parent
commit
275e0113d6
3 changed files with 10 additions and 10 deletions
  1. 5 5
      package.json
  2. 1 1
      publish.js
  3. 4 4
      vue.config.js

+ 5 - 5
package.json

@@ -2,10 +2,10 @@
   "name": "persagy_topo_editer",
   "version": "0.1.4",
   "remote": {
-    "host": "60.205.177.43",
-    "path": "/root/apps/web/persagyTopo",
-    "user": "root",
-    "password": "cGVyc2FneV8yMDIwbGFic2wlIyQ=",
+    "host": "39.102.40.239",
+    "path": "/opt/apps/web/persagyTopo",
+    "user": "publish",
+    "password": "1qaz2wsx",
     "local": "persagyTopo"
   },
   "scripts": {
@@ -58,4 +58,4 @@
     "typescript": "~3.9.3",
     "vue-template-compiler": "^2.6.11"
   }
-}
+}

+ 1 - 1
publish.js

@@ -30,7 +30,7 @@ const ssh = new Client();
 
 ssh.connect({
     host: process.env.npm_package_remote_host,
-    port: "22",
+    port: "2020",
     username: process.env.npm_package_remote_user,
     password: process.env.npm_package_remote_password
 }).then(() => {

+ 4 - 4
vue.config.js

@@ -7,22 +7,22 @@ module.exports = {
         },
         proxy: {
             '/labsl': {
-                target: 'http://60.205.177.43:8080',
+                target: 'http://39.102.40.239:8080',
                 changeOrigin: true,
                 secure: false,
             },
             '/meiku': {
-                target: 'http://60.205.177.43:8080',
+                target: 'http://39.102.40.239:8080',
                 changeOrigin: true,
                 secure: false,
             },
             '/datacenter': {
-                target: 'http://60.205.177.43:8080',
+                target: 'http://39.102.40.239:8080',
                 changeOrigin: true,
                 secure: false,
             },
             '/equip-componnet': {
-                target: 'http://60.205.177.43:8080',
+                target: 'http://39.102.40.239:8080',
                 changeOrigin: true,
                 secure: false,
             },