eclipse-thingweb / eclipse-thingweb/node-wot

Let user configure `Access-Control-Allow-Origin` header

Open
#941 1 comment 2 reactions 1 assignee Claimed by @jona42-ui View on GitHub
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 [![Telegram Group](https://img.shields.io/endpoint?color=neon&url=https%3A%2F%2Ftg.sumanjay.workers.dev%2Fnodewot)](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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.