Patching coova-chilli package for CORS-related issue

Hello,

Has anyone had to deal with coova-chilli not supporting cross origin requests in the JSON interface? This seems like a pretty common case if your captive portal is hosted on a resource in the cloud. Web browsers are preventing requests to go through if cross origin headers are not available.

At the moment I am attempting to compile a custom coova-chilli package that includes these headers, but my initial attempts have failed.

Has anyone found an alternative to this? Or run into a similar issue? Thank you for reading.