From 209356b8ade1920b50d1d3a1a5e121c6623d167b Mon Sep 17 00:00:00 2001 From: Minteck Date: Fri, 11 Nov 2022 23:47:49 +0100 Subject: Update --- comproxy/node_modules/ws/browser.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 comproxy/node_modules/ws/browser.js (limited to 'comproxy/node_modules/ws/browser.js') diff --git a/comproxy/node_modules/ws/browser.js b/comproxy/node_modules/ws/browser.js new file mode 100644 index 0000000..ca4f628 --- /dev/null +++ b/comproxy/node_modules/ws/browser.js @@ -0,0 +1,8 @@ +'use strict'; + +module.exports = function () { + throw new Error( + 'ws does not work in the browser. Browser clients must use the native ' + + 'WebSocket object' + ); +}; -- cgit