Merge pull request #15147 from sveinugu/path_based_interacive_tools

Support for path-based proxying of interactive tools
This commit is contained in:
Marius van den Beek
2022-12-08 17:23:11 +01:00
committed by GitHub
+2 -1
View File
@@ -294,7 +294,8 @@ class InteractiveToolManager:
rval = "{}/{}".format(rval.rstrip("/"), entry_point.entry_url.lstrip("/"))
else:
rval = self.get_entry_point_path(trans, entry_point)
if not self.app.config.interactivetools_upstream_proxy and self.app.config.interactivetools_proxy_host:
rval = f"{protocol}//{request_host}{rval}"
return rval
def get_entry_point_subdomain(self, trans, entry_point):