mirror of
https://github.com/maubot/maubot.git
synced 2024-10-01 01:06:10 -04:00
Revert obsolete change
Signed-off-by: Antoine Mazeas <antoine@karthanis.net>
This commit is contained in:
parent
9d587e32f2
commit
3b603a2180
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user