Feature Request: Add CORS Support to the Signalling Server API #387
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
never-stale
Component your feature request relates to:
Problem your feature solves? Please describe.
I have enabled the API on the Signalling Server.
I am using a custom frontend hosted on a different domain and would like to retrieve information using the built-in API.
However, this currently does not work in the browser due to CORS restrictions. The browser blocks the requests, making it impossible to fetch data from the Signalling Server in this setup.
Describe the solution you'd like.
I propose adding parameters to the
config.json
file to enable and configure CORS on the API.For example:
The text was updated successfully, but these errors were encountered: