2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-15 19:43:09 +00:00

Adjustments to default template file (#8440)

* 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

View File

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