Support for setting Cross-Origin Resource Sharing (CORS) headers to lws. For usage instructions, see here.
Adds the following options to lws.
--cors.origin `Access-Control-Allow-Origin` value. Default is the request Origin header.
--cors.allow-methods `Access-Control-Allow-Methods` value. Default is
"GET,HEAD,PUT,POST,DELETE,PATCH"
--cors.credentials Adds `Access-Control-Allow-Credentials` header.
© 2016-20 Lloyd Brookes <[email protected]>.