diff --git a/src/views/DashboardView/VolunteerDashboard/ListSessions.vue b/src/views/DashboardView/VolunteerDashboard/ListSessions.vue index 1e08dbe0..e4e4bf76 100644 --- a/src/views/DashboardView/VolunteerDashboard/ListSessions.vue +++ b/src/views/DashboardView/VolunteerDashboard/ListSessions.vue @@ -45,7 +45,6 @@ export default { mounted() { // reconnect socket if it isn't already if (!this.$socket.connected) { - this.$socket.io.opts.transports = ["polling"]; this.$socket.connect(); } this.$socket.emit("list", { diff --git a/src/views/SessionView/index.vue b/src/views/SessionView/index.vue index 6ec971e8..31353251 100644 --- a/src/views/SessionView/index.vue +++ b/src/views/SessionView/index.vue @@ -143,7 +143,6 @@ export default { promise .then(sessionId => { - this.$socket.io.opts.transports = ["polling", "websocket"]; this.$socket.connect(); this.joinSession(sessionId); })