Skip to content

Commit

Permalink
Opraveny CSRF error pri lokalnom spusteni
Browse files Browse the repository at this point in the history
  • Loading branch information
kovacspe committed Aug 25, 2024
1 parent 6680c4f commit 6ce5c90
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions webstrom/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@

ALLOWED_HOSTS = []

CSRF_TRUSTED_ORIGINS = [
'http://localhost:3000',
'https://localhost:3000'
]

SITE_ID = 1

# Application definition
Expand Down

0 comments on commit 6ce5c90

Please sign in to comment.