Skip to content

Commit

Permalink
add trusted origins
Browse files Browse the repository at this point in the history
  • Loading branch information
Grace-Amondi committed Jun 12, 2023
1 parent 7cd9357 commit 49aafa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nmhs_cms/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@
ACCOUNT_USERNAME_BLACKLIST = ["admin", "god", "superadmin", "staff"]
ACCOUNT_USERNAME_MIN_LENGTH = 3

CSRF_TRUSTED_ORIGINS = ['http://*.127.0.0.1', 'http://127.0.0.1','http://*.localhost', 'http://localhost','http://example.com', 'http://localhost:*', 'http://127.0.0.1:3100']
CSRF_TRUSTED_ORIGINS = ['http://*.127.0.0.1', 'http://127.0.0.1','http://*.localhost', 'http://localhost','http://example.com', 'http://localhost:*', 'http://127.0.0.1:3031']

SOCIAL_MEDIA_SHARE_CONFIG = {
'facebook': {"base_url": "https://www.facebook.com/sharer/sharer.php", "link_param": "u"},
Expand Down

0 comments on commit 49aafa6

Please sign in to comment.