FlowFuse / FlowFuse/node-red-dashboard

Third-party nodes not loading when Dashboard hosted on proxy

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

Description

### Current Behavior

Details: https://discourse.nodered.org/t/d2-third-party-nodes-do-not-appear-blocked-due-to-forbidden-mime-text-html/88916

Reported error:

```
/resources/@colinl/node-red-dashboard-2-ui-gauge-classic/ui-gauge-classic.umd.js” zostało zablokowane z powodu niedozwolonego typu MIME („text/html”).`
```

I suspect we have a hardcoded path when loading third-party nodes

### Expected Behavior

Third party widgets should be loading as core nodes do.

### Steps To Reproduce

- Will need to setup an nginx proxy
- Install a third-party widget

### Environment

- Dashboard version:
- Node-RED version:
- Node.js version:
- npm version:
- Platform/OS:
- Browser:

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

I have provided an initial effort estimate

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.