Skip to content

Commit a5923ee

Browse files
committed
fix: update CSRF_TRUSTED_ORIGINS to allow specific protocols for security
1 parent 3fcee0e commit a5923ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CodeJammers/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
DEBUG = False
2727

2828
ALLOWED_HOSTS = ['*']
29-
CSRF_TRUSTED_ORIGINS = ['*']
29+
CSRF_TRUSTED_ORIGINS = ['http://*', 'https://*']
3030

3131

3232
# Application definition

0 commit comments

Comments
 (0)