diff --git a/packages/client/package.json b/packages/client/package.json index 3b86bb509..3dff83429 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -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", diff --git a/packages/client/src/config.ts b/packages/client/src/config.ts index c20232e7e..8fa26aa2e 100644 --- a/packages/client/src/config.ts +++ b/packages/client/src/config.ts @@ -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'));