Skip to content

Let user configure Access-Control-Allow-Origin header #941

@relu91

Description

@relu91

As discussed in our Telegram Group, 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 *.

Metadata

Metadata

Assignees

Labels

binding-httpIssues related to http protocol bindingenhancementNew feature or requestgood first issueGood for newcomers

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions