Update production.py

This commit is contained in:
Narayana 2023-03-08 17:25:45 +05:30
parent 25b4495190
commit 99c8c2eac6

View File

@ -22,13 +22,7 @@ DATABASES = {
}
}
# CORS WHITELIST ON PROD
CORS_ORIGIN_WHITELIST = [
# "https://example.com",
# "https://sub.example.com",
# "http://localhost:8080",
# "http://127.0.0.1:9000"
]
# Parse database configuration from $DATABASE_URL
DATABASES["default"] = dj_database_url.config()
SITE_ID = 1