Browse Source

修改配置

Pchen. 1 year ago
parent
commit
7366868c57
2 changed files with 6 additions and 4 deletions
  1. 1 0
      .gitignore
  2. 5 4
      config.json

+ 1 - 0
.gitignore

@@ -1,3 +1,4 @@
 node_modules/
 *.log
+config.json
 uploads/

+ 5 - 4
config.json

@@ -3,13 +3,13 @@
     "database": {
         "host": "localhost",
         "database": "ic",
-        "port": 3306,
+        "port": 3307,
         "user": "ic",
         "password": "YepzEbAD5BFAjNet"
     },
     "redis": {
         "host": "localhost",
-        "port": 6379,
+        "port": 3306,
         "password": ""
     },
     "email": {
@@ -19,7 +19,8 @@
         "user": "mail@ctbu.top",
         "password": "FPhxUVrt5J9WxgiP"
     },
-    "url": "http://127.0.0.1:30000/",
+    "url": "https://hk1-api.ctbu.top",
     "url2": "http://127.0.0.1:30002",
-    "url3": "http://127.0.0.1:30001"
+    "url3": "http://127.0.0.1:30001",
+    "server": "CTBU_CLUB 香港2号服务器"
 }