Browse Source

初始化

fangchen 5 years ago
parent
commit
0eb68e253e
2 changed files with 4 additions and 2 deletions
  1. 3 1
      server/config.js
  2. 1 1
      server/process.prod.json

+ 3 - 1
server/config.js

@@ -23,9 +23,11 @@ const CONF = {
     user: 'root',
     db: 'cAuth',
     // pass: 'wx0eedaadeee1d7f8a',
-    pass: 'wxc65eea6a56ef0fd5',
+    pass: 'root',
     char: 'utf8mb4'
   },
+    tunnelServerUrl: 'http://tunnel.ws.qcloud.la',
+    tunnelSignatureKey: '27fb7d1c161b7ca52d73cce0f1d833f9f5b5ec89',
   cos: {
     /**
      * 区域

+ 1 - 1
server/process.prod.json

@@ -6,7 +6,7 @@
     "watch": true,
     "ignore_watch": ["tmp"],
     "env": {
-        "NODE_ENV": "production"
+        "NODE_ENV": "devlopment"
     },
     "engines": {
         "node": ">=7.6"