uploadUrl
This commit is contained in:
		
							parent
							
								
									16cc80d4ce
								
							
						
					
					
						commit
						e5c11edfa8
					
				| 
						 | 
					@ -62,7 +62,7 @@ export default {
 | 
				
			||||||
            ? localhostPath
 | 
					            ? localhostPath
 | 
				
			||||||
            : process.env.VUE_APP_API_URL;
 | 
					            : process.env.VUE_APP_API_URL;
 | 
				
			||||||
        connection = new signalR.HubConnectionBuilder()
 | 
					        connection = new signalR.HubConnectionBuilder()
 | 
				
			||||||
          .withUrl("ws://114.66.57.139:5001" + "/websocket", {
 | 
					          .withUrl(uploadUrl + "/websocket", {
 | 
				
			||||||
            skipNegotiation: true,
 | 
					            skipNegotiation: true,
 | 
				
			||||||
            transport: signalR.HttpTransportType.WebSockets
 | 
					            transport: signalR.HttpTransportType.WebSockets
 | 
				
			||||||
          })
 | 
					          })
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue