diff --git a/src/views/index.vue b/src/views/index.vue index f00e8c9..f97580c 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -62,7 +62,7 @@ export default { ? localhostPath : process.env.VUE_APP_API_URL; connection = new signalR.HubConnectionBuilder() - .withUrl("ws://114.66.57.139:5001" + "/websocket", { + .withUrl(uploadUrl + "/websocket", { skipNegotiation: true, transport: signalR.HttpTransportType.WebSockets })