Some time ago, there was fix for allowing only chrome extension to connect to server (PreMiD app), but I noticed that I can still access server by just selecting transport as websocket. It works on localhost and can be done on websites. It allows to receive and emit events to socket. Related to #501
Fixed CORS, just check if there is origin header 🤷♀️, like before. This code has been removed in v2.2.0 for no reason when there was update to socket.io v3.
Explanation
Some time ago, there was fix for allowing only chrome extension to connect to server (PreMiD app), but I noticed that I can still access server by just selecting transport as
websocket. It works on localhost and can be done on websites. It allows to receive and emit events to socket. Related to #501Steps to reproduce
and PreMiD app should open file dialog to "select local presence"
Code to access socket
Tested on latest PreMiD app (2.2.0)
The text was updated successfully, but these errors were encountered: