FlowFuse / node-red-dashboard

https://dashboard.flowfuse.com
Apache License 2.0
184 stars 46 forks source link

/nodes/widgets Images are Broken #211

Closed joepavitt closed 12 months ago

joepavitt commented 12 months ago

Description

Despite rendering locally, they do not render correctly on the production documentation: https://dashboard.flowfuse.com/nodes/widgets.html

Epic/Story

No response

Have you provided an initial effort estimate for this issue?

I have provided an initial effort estimate

joepavitt commented 12 months ago

Fixed by moving assets into /public. Was caused by Webpack not parsing the mage urls in the JS frontmatter. No obvious solution to fix this within vitepress, easy solution to move to /public and treat as static assets.