saziosu / book-swap

Code Institute: Project 4. Grade: Distinction
https://book-swap-13f900a2d9c7.herokuapp.com/
0 stars 1 forks source link

BUG: Heroku Deployment Error #11

Closed saziosu closed 11 months ago

saziosu commented 12 months ago

Describe the bug After deploying to Heroku, the static files are showing 404 and MIME type errors.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://book-swap-13f900a2d9c7.herokuapp.com/
  2. Open dev tools

Expected behavior The css and static files should display on heroku without MIME type and 404 errors.

Screenshots

mime-type error
saziosu commented 11 months ago

Installed whitenoise to allow heroku to load the static files. I was still receiving an error in the build logs for crispy_bootstrap4, resolved this by updating my requirements.txt file.