Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Commit

Permalink
Merge tag 'v3.7.0' into develop
Browse files Browse the repository at this point in the history
   v3.7.0
  • Loading branch information
AlexandreJunod committed May 29, 2024
2 parents 7e8928a + fc568eb commit 552b08a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ services:
ENV: PROD
depends_on:
- statics_builder
# entrypoint: /code/entrypoint.sh
entrypoint: /code/entrypoint.sh
command: "gunicorn geocity.wsgi -b :9000 --error-logfile gunicorn_log.log --workers=2 --threads=4 --worker-class=gthread"
volumes:
- ${PRIVATE_DOCUMENTS_DIR}:/private_documents
Expand Down
6 changes: 5 additions & 1 deletion geocity/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,11 @@

SESSION_COOKIE_SECURE = True
CSRF_COOKIE_SECURE = True
CSRF_TRUSTED_ORIGINS = os.getenv("CSRF_TRUSTED_ORIGINS").split(",")
CSRF_TRUSTED_ORIGINS = (
os.getenv("CSRF_TRUSTED_ORIGINS").split(",")
if os.getenv("CSRF_TRUSTED_ORIGINS")
else []
)


# SESSION TIMEOUT
Expand Down
2 changes: 1 addition & 1 deletion services/pdf/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pydyf==0.9.0
# via weasyprint
pyphen==0.14.0
# via weasyprint
requests==2.31.0
requests==2.32.0
# via -r requirements.in
six==1.16.0
# via html5lib
Expand Down

0 comments on commit 552b08a

Please sign in to comment.