From 3b603a21802ed2dcf7f91120fd99e426088f01fe Mon Sep 17 00:00:00 2001 From: Antoine Mazeas Date: Tue, 7 Jan 2020 19:36:17 +0100 Subject: [PATCH] Revert obsolete change Signed-off-by: Antoine Mazeas --- maubot/server.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/maubot/server.py b/maubot/server.py index e06307e..423a954 100644 --- a/maubot/server.py +++ b/maubot/server.py @@ -65,8 +65,7 @@ class MaubotServer: def get_instance_subapp(self, instance_id: str) -> Tuple[PluginWebApp, str]: subpath = self.config["server.plugin_base_path"] + instance_id - path_prefix = self.config["server.public_url_path_prefix"].rstrip("/") - url = self.config["server.public_url"] + path_prefix + subpath + url = self.config["server.public_url"] + subpath try: return self.plugin_routes[subpath], url except KeyError: