From 73ab12c592e4479e5a4b01abd03530e21688ba16 Mon Sep 17 00:00:00 2001 From: David Guillot Date: Fri, 27 Sep 2024 09:11:10 +0200 Subject: [PATCH] fix(templates): absolute path on static call When `collectstatic` is used with `ManifestStaticFilesStorage`, static files paths are always generated as relative, e.g. `css/django-pwa-app.css`. Calling `/css/django-pwa-app.css` results in > ValueError: Missing staticfiles manifest entry for '/css/django-pwa-app.css' --- pwa/templates/offline.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pwa/templates/offline.html b/pwa/templates/offline.html index 0a82a4a..2f8e00d 100644 --- a/pwa/templates/offline.html +++ b/pwa/templates/offline.html @@ -3,9 +3,9 @@ Default offline template - +

You are currently not connected to any networks.

- \ No newline at end of file +