Skip to content

Commit

Permalink
Revert obsolete change
Browse files Browse the repository at this point in the history
Signed-off-by: Antoine Mazeas <[email protected]>
  • Loading branch information
karthanistyr committed Jan 7, 2020
1 parent 9d587e3 commit 3b603a2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions maubot/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ async def handle_plugin_path(self, request: web.Request) -> web.Response:

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:
Expand Down

0 comments on commit 3b603a2

Please sign in to comment.