Dear
Here is a CORS reference for you:
https://openlitespeed.org/kb/setting-up-cors-on-openlitespeed/
1. Add CORS extra header through OLS Web Admin console
2. edit the file /usr/local/lsws/conf/vhosts/Example/vhconf.conf
context / {
location $DOC_ROOT/
allowBrowse...