Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
relu91 opened this issue Mar 24, 2023 · 0 comments
Open

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

relu91 opened this issue Mar 24, 2023 · 0 comments
Labels
binding-http Issues related to http protocol binding enhancement New feature or request good first issue Good for newcomers

Comments

@relu91
Copy link
Member

relu91 commented Mar 24, 2023

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 *.

@relu91 relu91 added enhancement New feature or request good first issue Good for newcomers binding-http Issues related to http protocol binding labels Mar 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
binding-http Issues related to http protocol binding enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant