include base_url in binder_url
@@ -282,9 +282,10 @@ class BuildHandler(BaseHandler):
push_secret = None
BuildClass = FakeBuild if self.settings.get('fake_build', None) else Build
- binder_url = '{proto}://{host}/v2/{provider}/{spec}'.format(
+ binder_url = '{proto}://{host}{base_url}v2/{provider}/{spec}'.format(
proto=self.request.protocol,
host=self.request.host,
+ base_url=self.settings['base_url'],
provider=provider_prefix,
spec=spec,
)
@@ -293,7 +294,6 @@ class BuildHandler(BaseHandler):
repo_url=repo,
)
-
build = BuildClass(
q=q,
api=kube,
