This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

custom app connect to localbus
#1
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.
Reply
#2
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.
Reply
#3
(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
Reply


Forum Jump: