eclipse-thingweb / eclipse-thingweb/node-wot
Let user configure `Access-Control-Allow-Origin` header
Open
binding-http
enhancement
good first issue
- Dominant language
- TypeScript
- Stars
- 192
- Forks
- 100
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 6
Description
As discussed in our [](https://t.me/nodewot), 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 our `http-server`. A nice to have would be to configure that value using an `option` parameter with the default value being `*`.
Contributor guide
Assessment
This issue has not been assessed yet.