If there are any resources on this particular topic available on the Node-Red website, please share them with me.
My current project involves building a static website using HTML, JavaScript, and CSS with Node-Red. I am utilizing HTTP GET nodes to call my JavaScript and CSS files. While I can successfully connect my JavaScript using the script tag, connecting my CSS file through the link tag poses a problem. Although the CSS file is accessible when I visit the css_http response linked to my Node-Red server, none of my HTML files seem to recognize it.
Upon checking the console, I receive a warning stating "CSS was ignored due to mime type mismatch". Despite correctly coding the syntax and being able to access the CSS file through HTTP, the HTML files remain unaffected.
Currently, I load a single CSS file through the payload, which functions adequately but leads to messy code displayed on the console. Is there a method to link an external CSS file through a Node without relying on the payload, and can the link tag be utilized for this purpose? Should the external CSS file be placed in an HTML file outside of the server? Furthermore, why do JavaScript files work seamlessly in comparison to CSS files?