Browse Source

!421 修复SignalR无法连接的问题
Merge pull request !421 from 新无止竞/next

zuohuaijun 3 years ago
parent
commit
f6f8ea55fc
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Vben2/.env.production

+ 2 - 0
Vben2/.env.production

@@ -22,6 +22,8 @@ VITE_GLOB_API_URL=/api
 # It can be forwarded by nginx or write the actual address directly
 VITE_GLOB_UPLOAD_URL=/api
 
+VITE_GLOB_SIGNALR_URL=/hubs/chatHub
+
 # Interface prefix
 VITE_GLOB_API_URL_PREFIX=