Browse Source

update 优化 开发环境默认关闭ws 因vite的bug导致如ws无法连接则会崩溃

疯狂的狮子Li 1 year ago
parent
commit
5165541780
1 changed files with 2 additions and 2 deletions
  1. 2 2
      .env.development

+ 2 - 2
.env.development

@@ -24,5 +24,5 @@ VITE_APP_RSA_PUBLIC_KEY = 'MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAKoR8mX0rGKLqzcWmOzbf
 # 客户端id
 VITE_APP_CLIENT_ID = 'e5cd7e4891bf95d1d19206ce24a7b32e'
 
-# websocket 开关
-VITE_APP_WEBSOCKET = true
+# websocket 开关(开发环境默认关闭ws 因vite的bug导致如ws无法连接则会崩溃)
+VITE_APP_WEBSOCKET = false