Return given host for 'moto-api'
This commit is contained in:
parent
9c6e7f2ee7
commit
54cbc98506
@ -34,6 +34,9 @@ class DomainDispatcherApplication(object):
|
|||||||
self.service = service
|
self.service = service
|
||||||
|
|
||||||
def get_backend_for_host(self, host):
|
def get_backend_for_host(self, host):
|
||||||
|
if host == 'moto_api':
|
||||||
|
return host
|
||||||
|
|
||||||
if self.service:
|
if self.service:
|
||||||
return self.service
|
return self.service
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user