nidayand / node-red-contrib-tradfri

Work in progress - Node-RED node for IKEA TRÅDFRI devices
Other
24 stars 9 forks source link

Use relative paths in httpAdmin requests #24

Open hobbyquaker opened 5 years ago

hobbyquaker commented 5 years ago

Absolute paths anticipate the usage of the Node-RED httpRoot config option, relative should always work. httpRoot is often used when Node-RED is behind a reverse Proxy or embedded in another application, like e.g. here: https://github.com/HM-RedMatic/RedMatic/issues/131

seamusc commented 5 years ago

Haha, I was just about to create a PR with exactly this change. @nidayand this is very useful, any change this can be merged?