Commit 6f3e7228 authored by davelopez's avatar davelopez
Browse files

Fix incorrect request host in ASGI

parent 92138e98
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -216,9 +216,7 @@ class GalaxyASGIRequest(GalaxyAbstractRequest):

    @property
    def host(self) -> str:
        client = self.__request.client
        assert client is not None
        return str(client.host)
        return self.__request.base_url.netloc

    @property
    def environ(self) -> MutableMapping[str, Any]: