Merge pull request #1806 from joseluisdiaz/return-moto-api-backend
Return given host for 'moto-api'
This commit is contained in:
commit
d3b5cea22a
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user