Skip to content

Commit 9569ed6

Browse files
committed
settings.py: Add allowed hosts
1 parent 1ae4ac1 commit 9569ed6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

model_deployment/server/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# SECURITY WARNING: don't run with debug turned on in production!
2727
DEBUG = True
2828

29-
ALLOWED_HOSTS = []
29+
ALLOWED_HOSTS = ['localhost', '0.0.0.0']
3030

3131

3232
# Application definition

0 commit comments

Comments
 (0)