I built an electron application to reset my rigs via smart plugs, notice that a rig was offline this morning, checking the electron app, it was throwing a bunch of 405 errors.
I generated a new api, didn’t work. Check my ip was on the white list, everything seem to checkout.
So I look through the electron app and wondered if I turned off websecurity
webSecurity: false,
The app suddenly started receiving data from the api again. I’m not too sure what the security implications are, but for now it seems to be the only way electrons app work with the api