diff --git a/web/web/settings.py b/web/web/settings.py index 20e48b52..d11a8dab 100644 --- a/web/web/settings.py +++ b/web/web/settings.py @@ -7,7 +7,7 @@ DEBUG = 1 -ipAddress=os.popen('hostname -I | cut -d " " -f1').read().strip() +ipAddress=os.popen('hostname -i | cut -d " " -f1').read().strip() ALLOWED_HOSTS = [ipAddress, 'localhost', '127.0.0.1', '*'] # SESSION_COOKIE_SECURE = True