2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-15 11:33:08 +00:00

Adjustments to default template file ()

* Adjustments to default template file

- Do not specify SAMESITE_COOKIE options by default
- Fallback to the values in settings.py

* Update config_template.yaml
This commit is contained in:
Oliver 2024-11-08 10:50:13 +11:00 committed by GitHub
parent fade7e3d04
commit 011108cb50
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -28,6 +28,10 @@ database:
# Set debug to False to run in production mode, or use the environment variable INVENTREE_DEBUG
debug: True
# Additional debug options
debug_querycount: False
debug_shell: False
# Set to False to disable the admin interface, or use the environment variable INVENTREE_ADMIN_ENABLED
#admin_enabled: True
@ -114,10 +118,10 @@ use_x_forwarded_host: false
# Override with the environment variable INVENTREE_USE_X_FORWARDED_PORT
use_x_forwarded_port: false
# Cookie settings
cookie:
secure: false
samesite: false
# Cookie settings (nominally the default settings should be fine)
#cookie:
# secure: false
# samesite: false
# Cross Origin Resource Sharing (CORS) settings (see https://github.com/adamchainz/django-cors-headers)
cors: