Let user configure Access-Control-Allow-Origin
header
#941
Labels
binding-http
Issues related to http protocol binding
enhancement
New feature or request
good first issue
Good for newcomers
As discussed in our , in certain use cases users might what to restrict usage of WebThing affordances to a certain Origin. Currently, the
Access-Control-Allow-Origin
header is hardcoded in ourhttp-server
. A nice to have would be to configure that value using anoption
parameter with the default value being*
.The text was updated successfully, but these errors were encountered: