Skip to content

Commit

Permalink
Fix configuration files
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexis committed Dec 6, 2023
1 parent 8818e19 commit c289d71
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions csskp/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,12 @@
exit(1)

try:
CSRF_TRUSTED_ORIGINS = config.CSRF_TRUSTED_ORIGINS
CORS_ALLOWED_ORIGINS = config.CORS_ALLOWED_ORIGINS
CORS_ALLOWED_ORIGIN_REGEXES = config.CORS_ALLOWED_ORIGIN_REGEXES
CORS_ALLOW_METHODS = config.CORS_ALLOW_METHODS
except AttributeError:
CSRF_TRUSTED_ORIGINS = []
CORS_ALLOWED_ORIGINS = []
CORS_ALLOWED_ORIGIN_REGEXES = []
CORS_ALLOW_METHODS = []
Expand Down

0 comments on commit c289d71

Please sign in to comment.