How do I enable CORS in stardog cloud


I'm making a HTTP get request to my database in stardog cloud, but get the 401 CORS policy error. I know I can resolve this by adding these two lines to the cfg file:

But I'm confused how to enable CORS in stardog cloud.

Thanks in advance


How are you attempting to connect to your Stardog Cloud instance ( apps, CLI, etc)? 401 would imply invalid or missing credentials; do you have any more specifics about the error you're seeing?