Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

mimetype error django react

The reason behind why it shows mime type error is that, staticfiles_dirs doesn't include src folder, and if there is images inside src, it doesn't get include in staticfiles folder while collectstatic process, hence throws error.

so make sure to not use import images inside src or public, instead host them.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mimetype #error #django #react
ADD COMMENT
Topic
Name
7+4 =