Browse Source

长链接端口修改

asd26269546 1 year ago
parent
commit
58aa163359
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/notice/index.vue

+ 1 - 1
src/components/notice/index.vue

@@ -135,7 +135,7 @@ const confirm = () => {
 
 const socketInit = () => {
 	window.ws = new WebSocket(
-		'ws://'+ import.meta.env.VITE_APP_IP +':9898'+ import.meta.env.VITE_APP_WS_API +'/webStock/' +
+		'ws://'+ import.meta.env.VITE_APP_IP +':20001'+ import.meta.env.VITE_APP_WS_API +'/webStock/' +
 			getToken()
 		// 'ws://192.168.1.97:8300/webStock/' + window.localStorage.getItem('token')
 	)