Skip to content

Commit 19280c2

Browse files
Fixed default value to reflect upstream
1 parent d5b1d9c commit 19280c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configuration/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def _read_secret(secret_name, default = None):
123123
# Cross-Site-Request-Forgery-Attack settings. If Netbox is sitting behind a reverse proxy, you might need to set the CSRF_TRUSTED_ORIGINS flag.
124124
# Django 4.0 requires to specify the URL Scheme in this setting. An example environment variable could be specified like:
125125
# CSRF_TRUSTED_ORIGINS=https://demo.netbox.dev http://demo.netbox.dev
126-
CSRF_TRUSTED_ORIGINS = list(filter(None, environ.get('CSRF_TRUSTED_ORIGINS', 'https://localhost').split(' ')))
126+
CSRF_TRUSTED_ORIGINS = list(filter(None, environ.get('CSRF_TRUSTED_ORIGINS', '').split(' ')))
127127

128128
# Set to True to enable server debugging. WARNING: Debugging introduces a substantial performance penalty and may reveal
129129
# sensitive information about your installation. Only enable debugging while performing testing. Never enable debugging

0 commit comments

Comments
 (0)