Merge pull request #414 from albertoxamin/dev

merge upgrade socketio
This commit is contained in:
Alberto Xamin 2023-01-24 12:51:43 +00:00 committed by GitHub
commit 4c337c560c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 6 deletions

View File

@ -1,9 +1,8 @@
certifi==2021.10.8 certifi==2021.10.8
dnspython==2.3.0 dnspython==2.3.0
eventlet==0.33.3 eventlet==0.33.3
greenlet==1.1.3.post0 python-engineio==4.3.4
python-engineio==3.14.2 python-socketio==5.7.2
python-socketio==4.6.1
six==1.16.0 six==1.16.0
pytest==7.2.1 pytest==7.2.1
requests==2.28.2 requests==2.28.2

View File

@ -13,13 +13,12 @@
"core-js": "^3.16.2", "core-js": "^3.16.2",
"pretty-checkbox-vue": "^1.1.9", "pretty-checkbox-vue": "^1.1.9",
"register-service-worker": "^1.7.2", "register-service-worker": "^1.7.2",
"socket.io-client": "^4.4.1",
"vue": "^2.6.14", "vue": "^2.6.14",
"vue-clipboard2": "^0.3.3", "vue-clipboard2": "^0.3.3",
"vue-i18n": "^8.28.2", "vue-i18n": "^8.28.2",
"vue-json-viewer": "^2.2.22", "vue-json-viewer": "^2.2.22",
"vue-router": "^3.6.5", "vue-router": "^3.6.5",
"vue-socket.io": "^3.0.10" "bang-vue-socket.io": "^4.0.0"
}, },
"devDependencies": { "devDependencies": {
"@vue/cli-plugin-babel": "~4.5.15", "@vue/cli-plugin-babel": "~4.5.15",

View File

@ -2,7 +2,7 @@ import Vue from 'vue'
import App from './App.vue' import App from './App.vue'
Vue.config.productionTip = false Vue.config.productionTip = false
import VueSocketIO from 'vue-socket.io' import VueSocketIO from 'bang-vue-socket.io'
Vue.use(new VueSocketIO({ Vue.use(new VueSocketIO({
debug: Vue.config.devtools, debug: Vue.config.devtools,
connection: Vue.config.devtools ? `http://${window.location.hostname}:5001` : window.location.origin, connection: Vue.config.devtools ? `http://${window.location.hostname}:5001` : window.location.origin,