Enable CORS on port 9090

Hi I’m using the restapi-plugin and I need to enable CORS
How can I do that (enable CORS on port 9090) ?