8000 add the ALLOWED_HOSTS variable · github/codespaces-django@6c48928 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6c48928

Browse files
add the ALLOWED_HOSTS variable
1 parent 57ff9d2 commit 6c48928

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.env.example

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
SECRET_KEY=my_secret_key
22
DEBUG=True
33

4+
# ALLOWED_HOSTS=yourdomain.com,anotherdomain.com (Each host is separated by a comma)
5+
ALLOWED_HOSTS=*
6+
47
DB_ENGINE=mysql
58
DB_HOST=127.0.0.1
69
DB_PORT=3306

0 commit comments

Comments
 (0)
0