Excel office addin + React - Security Error with websockets

290 Views Asked by At

I've been trying to create an excel addin with React. I'm trying to connect it to a websocket server but I keep getting this vague error: Error: SecurityError due to this line this.client = new WebSocket('ws://localhost:6789').

Is there a way to disable this security? The addin is using the IE/Edge browser to host the runtime process.

0

There are 0 best solutions below