gemercheung 3 years ago
parent
commit
e6479e8498
2 changed files with 13 additions and 4 deletions
  1. 13 3
      config.yaml
  2. 0 1
      src/scene/scene.service.ts

+ 13 - 3
config.yaml

@@ -2,16 +2,26 @@ http:
   host: '0.0.0.0'
   port: 6688
 
+
 grpc:
-  url: '192.168.0.200:3000'
+  url: '221.4.210.172:23000'
+# grpc:
+#   url: '192.168.0.47:3000'
 
 redis:
-  port: 6379
-  host: '192.168.0.47' #远程调试需要设置bindip 为0.0.0.0 并且设置密码
+  port: 26379
+  host: '221.4.210.172' #远程调试需要设置bindip 为0.0.0.0 并且设置密码
   password: '' # 非远程不需要密码
   decode_responses: true
   db: 9
 
+# redis:
+#   port: 6379
+#   host: '192.168.0.47' #远程调试需要设置bindip 为0.0.0.0 并且设置密码
+#   password: '' # 非远程不需要密码
+#   decode_responses: true
+#   db: 9
+
 stun:
   server: ['stun:172.18.156.41:3478', 'stun:120.24.252.95:3478']
   portRangeBegin: 52000

+ 0 - 1
src/scene/scene.service.ts

@@ -85,7 +85,6 @@ export class SceneService implements OnModuleInit {
     try {
       if (typeof message === 'string') {
         const msg: RTCMessageRequest = JSON.parse(message);
-        console.log('msg', msg);
         switch (msg.action_type) {
           case ActionType.rotate:
             console.log('rotate', msg);