From bf4484e391d05e12e09425e2544dd28f751b728e Mon Sep 17 00:00:00 2001 From: Ajurna Date: Thu, 13 Jan 2022 13:40:27 +0000 Subject: [PATCH] fix for django-sri or static files not detecting new files. not sure which but clearing files on collectstatic fixes it. --- entrypoint.sh | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index e89a6a0..3d7c730 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,5 +1,5 @@ python manage.py migrate --settings=cbreader.settings.base -python manage.py collectstatic --settings=cbreader.settings.base --noinput +python manage.py collectstatic --settings=cbreader.settings.base --noinput --clear gunicorn --workers 3 --bind 0.0.0.0:8000 cbreader.wsgi:application \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 52af9ff..c7a3283 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ line_length = 119 [tool.poetry] name = "cbwebreader" -version = "0.3.2" +version = "0.3.4" description = "CBR/Z Web Reader" authors = ["ajurna "] license = "Creative Commons Attribution-ShareAlike 4.0 International License"