Read the statement by Michael Teeuw here.
Trading module
-
My bad Alexyak, it was working even if webSecurity was not set. It was an issue in my config.js, sorry for that.
Your module is working only on the RPI, not inside a browser (webSecurity: false or true) but it’s not a big deal.
I will try to find a solution
-
@plumcraft the webSecurity flag will only work for running in the electron on RPI. Which web browser are you trying to run it in? It works for me for chrome and safari.
-
@alexyak I’m using Google Chrome, does not work on Safari either.
-
@plumcraft could you please make sure that you pulled the latest version of the MM from github?
-
@alexyak Just tried it, i’m having the same issue :(
-
To prevent these kind of issues (and improve security) I suggest all cross server calls are done in the node helper. (That’s what the node helper is for)
-
@MichMich as a rule of thumb yes, but there could be exceptions :)
-
@plumcraft I’ve updated the module to move the data request to the node_helper which means it should fix your CORS related error.
Just pull the latest. -
@alexyak thanks, it works for me now :)
-
@plumcraft great! Enjoy :)