client: remove unused websocket libraries

The websocket functionality is provided by foundkey-js so there is no need to import
any websocket libraries.
This commit is contained in:
Johann150 2023-01-11 19:45:18 +01:00
parent e68eeba7a6
commit 624628d582
Signed by untrusted user: Johann150
GPG key ID: 9EE6577A2A06F8F1
2 changed files with 0 additions and 5 deletions

View file

@ -72,8 +72,6 @@
"vue": "3.2.45",
"vue-prism-editor": "2.0.0-alpha.2",
"vuedraggable": "4.0.1",
"websocket": "1.0.34",
"ws": "8.8.0"
},
"devDependencies": {
"@types/escape-regexp": "0.0.1",
@ -90,8 +88,6 @@
"@types/throttle-debounce": "5.0.0",
"@types/tinycolor2": "1.4.3",
"@types/uuid": "8.3.4",
"@types/websocket": "1.0.5",
"@types/ws": "8.5.3",
"@typescript-eslint/eslint-plugin": "^5.46.1",
"@typescript-eslint/parser": "^5.46.1",
"cross-env": "7.0.3",

View file

@ -5,7 +5,6 @@ export const host = address.host;
export const hostname = address.hostname;
export const url = address.origin;
export const apiUrl = url + '/api';
export const wsUrl = url.replace('http://', 'ws://').replace('https://', 'wss://') + '/streaming';
export const lang = localStorage.getItem('lang');
export const langs = _LANGS_;
export const locale = JSON.parse(localStorage.getItem('locale'));