Skip to content

Commit

Permalink
feat: Fix allowed hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
AlirezaYousefpourM committed Jan 13, 2025
1 parent be6e4b6 commit ebfce05
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', "http://185.252.86.114"]
CSRF_TRUSTED_ORIGINS = ['https://aaiss.ir', 'https://localhost', 'https://127.0.0.1', "http://185.252.86.114"]
ALLOWED_HOSTS = ['aaiss.ir', '127.0.0.1', 'localhost', "185.252.86.114"]
CSRF_TRUSTED_ORIGINS = ['https://aaiss.ir', 'https://localhost', 'https://127.0.0.1', "185.252.86.114"]

# Application definition

Expand Down

0 comments on commit ebfce05

Please sign in to comment.