Skip to content

Commit

Permalink
feat: Add ip to trusted stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
AlirezaYousefpourM committed Jan 13, 2025
1 parent 84d0fe5 commit b51cb0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/aaiss_backend/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = env.bool("DEBUG", False)

ALLOWED_HOSTS = ['aaiss.ir', '127.0.0.1', 'localhost']
CSRF_TRUSTED_ORIGINS = ['https://aaiss.ir', 'https://localhost', 'https://127.0.0.1']
ALLOWED_HOSTS = ['aaiss.ir', '127.0.0.1', 'localhost', "http://185.252.86.114"]
CSRF_TRUSTED_ORIGINS = ['https://aaiss.ir', 'https://localhost', 'https://127.0.0.1', "http://185.252.86.114"]

# Application definition

Expand Down

0 comments on commit b51cb0e

Please sign in to comment.