Potential CORS problems
-
-
The dueui.org server, the Duets and the DSF all send
Access-Control-Allow-Origin: *
headers and DueUI uses jsonp to retrieve it's config. I haven't seen any errors whatsoever. Are you having issues? -
@gtj0 Not quite right, CORS headers are no longer provided by DuetWebServer unless you enable the corresponding option.
To do so, change
UseCors
in/opt/dsf/conf/http.json
fromfalse
totrue
and restart DWS viasudo systemctl restart duetwebserver
. -
@chrishamm Ah. I hadn't been keeping up. Good to know. Thanks!
-
Awesome, thank you for your replies :))