When using the standalone server, it might be useful to handle CORS preflight requests. Currently the request just falls with a 405, Method Not Allowed. I'm proposing the addition of a cors field on the CreateHttpHandlerOptions object, which would contain an array of allowed origins, or a boolean of whether to allow all origins. Thoughts?
When using the standalone server, it might be useful to handle CORS preflight requests. Currently the request just falls with a 405, Method Not Allowed. I'm proposing the addition of a
corsfield on theCreateHttpHandlerOptionsobject, which would contain an array of allowed origins, or a boolean of whether to allow all origins. Thoughts?