Skip to content

node-red httpStatic setting problem #154

@magtimmermans

Description

@magtimmermans

Hi,

In my node-red settings, i have httpStatic set to the directory public (httpStatic: 'public'). In ~/IOTstack/volumes/nodered/data I have a directory public with the weather-icons. The path is correct. And I will get an error message "Refused to apply style from 'http://192.168.10.4:1880/weather-icons/mycss/weather-icons.min.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled. " This I have not with installing node-red the normal way. I expect that the file is not found. Do you know what could be wrong here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions