Logic Machine Forum
custom app connect to localbus - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Application Store (https://forum.logicmachine.net/forumdisplay.php?fid=11)
+--- Thread: custom app connect to localbus (/showthread.php?tid=3768)



custom app connect to localbus - Smeagol - 22.12.2021

Hey,

Since the new update my custom app does not connect to localbus anymore. I have extracted the script localbus.js.gz and busdecode.js.gz and call it's init method with the two required parameters:

* url to logic machine
* user name: password

This had always worked, but since the new update it no longer connects and gives the vague CORS error.

Please advise.


RE: custom app connect to localbus - admin - 22.12.2021

CORS had to be disabled by default for security reasons. Now you can set up to 4 allowed CORS hosts in System config > Services > HTTP server.


RE: custom app connect to localbus - Smeagol - 22.12.2021

(22.12.2021, 16:26)admin Wrote: CORS had to be disabled by default for security reasons. Now you can set up to 4 allowed CORS hosts in System config > Services > HTTP server.

Ah! I understand. Thanks for the fix Wink