bartbutenaers / node-red-contrib-blockly

A Node Red node for visual programming a function using Blockly
Apache License 2.0
88 stars 22 forks source link

Themes not loaded when httpAdminRoot set #127

Closed bartbutenaers closed 7 months ago

bartbutenaers commented 7 months ago

Seems that the themes are not being loaded when you have set an httpAdminRoot path in your settings.js file:

Problem is that the theme is loaded from: https://my_host_name/blockly-contrib/npm/@blockly___SEPARATOR___theme-highcontrast/src/index.js While it should be loaded from: https://my_host_name/my_http_admin_root/blockly-contrib/npm/@blockly___SEPARATOR___theme-highcontrast/src/index.js

Which is caused by the / at the start of the relative url.