webery icon indicating copy to clipboard operation
webery copied to clipboard

CORS error

Open The-Neo-Noir opened this issue 2 years ago • 1 comments

I am using the webery as a REST server, and I get CORS error. Is there a configuration that can be done to allow certain requesters ( host,port) ?

The-Neo-Noir avatar May 04 '22 14:05 The-Neo-Noir

you can add a filter that will add cors-headers to the response, or you can use RestHandler that allows all hosts by default

wizzardo avatar May 04 '22 20:05 wizzardo