Skip to content
Snippets Groups Projects
Commit fc9b6523 authored by Neda Moeini's avatar Neda Moeini
Browse files

Make allowed_host to get the value from env

parent 67318a4e
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ SECRET_KEY = os.getenv("SECRET_KEY")
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS: list[str] = []
ALLOWED_HOSTS: list[str] = os.getenv("ALLOWED_HOSTS", "").split(",")
# Application definition
INSTALLED_APPS = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment