Django app static files recently started returning 404s, deployed by Heroku

The static files in my Django production app recently started returning 404s.

Screenshot of production site with dev tools open

Context

  • This project has been deployed without issue for several years.

  • I have not pushed changes since September.

  • I am unsure when the 404s began.

  • The staging version of my Heroku app loads the static assets

Screenshot of staging site with dev tools open

Investigation

I read the most recent Whitenoise documentation; my app still follows their setup guidance. You can see my settings here (n.b., the project is open source).

I also ran heroku run python manage.py collectstatic --app APP_NAME directly.

I am aware of this related post, too: Heroku static files not loading, Django

Site URLs

https://www.americanhandelsociety.org/

https://americanhandelsociety-staging.herokuapp.com/

Вернуться на верх