Skip to content

Commit

Permalink
Fix cache
Browse files Browse the repository at this point in the history
  • Loading branch information
JobDoesburg committed Apr 9, 2024
1 parent e36addc commit 33e335e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh
chown -R nobody:nogroup /app/cache
python manage.py migrate --noinput
echo "${SAML_PUBLIC_KEY_FILE}" > /app/tosti/saml/public.cert
echo "${SAML_PRIVATE_KEY_FILE}" > /app/tosti/saml/private.key
Expand Down
2 changes: 1 addition & 1 deletion website/tosti/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
CACHES = {
"default": {
"BACKEND": "django.core.cache.backends.filebased.FileBasedCache",
"LOCATION": "/app/cache/cache",
"LOCATION": "/app/cache",
}
}

Expand Down

0 comments on commit 33e335e

Please sign in to comment.