Return given host for 'moto-api'
This commit is contained in:
parent
9c6e7f2ee7
commit
54cbc98506
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue