Closed Mahshid-Gh closed 4 years ago
Describe the bug I am trying to connect with wss but wss keep replacing with https
My socket config is import Vue from 'vue'; import VueSocketIO from 'vue-socket.io'; import * as io from 'socket.io-client'; import store from '../store';
export default async (/ { app, router, Vue ... } /) => { Vue.use(new VueSocketIO({ debug: true, connection: io('wss://echo.websocket.org'), vuex: { store, actionPrefix: 'SOCKET', mutationPrefix: 'SOCKET', }, })); };
I get below error :
Describe the bug I am trying to connect with wss but wss keep replacing with https
My socket config is import Vue from 'vue'; import VueSocketIO from 'vue-socket.io'; import * as io from 'socket.io-client'; import store from '../store';
export default async (/ { app, router, Vue ... } /) => { Vue.use(new VueSocketIO({ debug: true, connection: io('wss://echo.websocket.org'), vuex: { store, actionPrefix: 'SOCKET', mutationPrefix: 'SOCKET', }, })); };
I get below error :