FlowFuse / FlowFuse/node-red-dashboard

CORS settings option for socket.io

Open
#31 0 comments 0 reactions 0 assignees View on GitHub
needs-triage type:feature
Dominant language
HTML
Stars
355
Forks
82
Avg merge
4d 23h
Merged PRs (30d)
24

Description

### Description

With current node-red-dashboard , there is not a CORS setting for the ui socket.

I'm currently writing Web Components (Lit Element) clones of the dashboard ui elements with the plan of loading then from a different domain and connecting via a WebRTC bridge wrtten in node-js. When i tried to implement a browser aware version of the bridge, I ran into the CORS problem. A settings.js entry to pass an aditional parameter to socketio(server,....) in ui.js would be great!

### Have you provided an initial effort estimate for this issue?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.