diff --git a/backend/requirements.txt b/backend/requirements.txt index c209a0c..373d1bd 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -1,9 +1,8 @@ certifi==2021.10.8 dnspython==2.3.0 eventlet==0.33.3 -greenlet==1.1.3.post0 -python-engineio==3.14.2 -python-socketio==4.6.1 +python-engineio==4.3.4 +python-socketio==5.7.2 six==1.16.0 pytest==7.2.1 requests==2.28.2 diff --git a/frontend/package.json b/frontend/package.json index b9f2298..8ae0e0a 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -13,13 +13,12 @@ "core-js": "^3.16.2", "pretty-checkbox-vue": "^1.1.9", "register-service-worker": "^1.7.2", - "socket.io-client": "^4.4.1", "vue": "^2.6.14", "vue-clipboard2": "^0.3.3", "vue-i18n": "^8.28.2", "vue-json-viewer": "^2.2.22", "vue-router": "^3.6.5", - "vue-socket.io": "^3.0.10" + "bang-vue-socket.io": "^4.0.0" }, "devDependencies": { "@vue/cli-plugin-babel": "~4.5.15", diff --git a/frontend/src/main.js b/frontend/src/main.js index f11a45d..c864383 100644 --- a/frontend/src/main.js +++ b/frontend/src/main.js @@ -2,7 +2,7 @@ import Vue from 'vue' import App from './App.vue' Vue.config.productionTip = false -import VueSocketIO from 'vue-socket.io' +import VueSocketIO from 'bang-vue-socket.io' Vue.use(new VueSocketIO({ debug: Vue.config.devtools, connection: Vue.config.devtools ? `http://${window.location.hostname}:5001` : window.location.origin,