diff --git a/greenweb/settings/development.py b/greenweb/settings/development.py index ac30e5d5..7e479a19 100644 --- a/greenweb/settings/development.py +++ b/greenweb/settings/development.py @@ -5,7 +5,10 @@ INTERNAL_IPS = ["127.0.0.1"] hostname, _, ips = socket.gethostbyname_ex(socket.gethostname()) INTERNAL_IPS += [ip[:-1] + "1" for ip in ips] -ALLOWED_HOSTS.extend(["127.0.0.1", "localhost"]) # noqa + +# we add gitpod.io to support their ephemeral dev environments +# add others as we need them +ALLOWED_HOSTS.extend(["127.0.0.1", "localhost", ".gitpod.io"]) # noqa INSTALLED_APPS.append("debug_toolbar") # noqa