Return given host for 'moto-api'

This commit is contained in:
José Luis Diaz 2018-09-03 16:34:19 -03:00
commit 54cbc98506

View file

@ -34,6 +34,9 @@ class DomainDispatcherApplication(object):
self.service = service
def get_backend_for_host(self, host):
if host == 'moto_api':
return host
if self.service:
return self.service