gcgarner / IOTstack

docker stack for getting started on IOT on the Raspberry PI
GNU General Public License v3.0
1.5k stars 578 forks source link

node-red httpStatic setting problem #154

Open magtimmermans opened 4 years ago

magtimmermans commented 4 years ago

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?