FlowFuse / device-agent

An agent to run FlowFuse managed instances of Node-RED on devices
Apache License 2.0
15 stars 8 forks source link

Fix CORS handling #242

Closed hardillb closed 4 months ago

hardillb commented 4 months ago

fixes #241

Description

Since the editor was moved to the /device-editor path this removed the default CORS middleware from the httpNodeRoot so OPTIONS calls were not handled properly.

This adds the default handler to the httpNodeRoot path

Related Issue(s)

241

Checklist

Labels