Switch to a hacky custom router for plugin web apps

This commit is contained in:
Tulir Asokan 2019-03-06 23:16:22 +02:00
parent a4cfb97b67
commit 3c2d0a9fde
3 changed files with 19 additions and 12 deletions

View file

@ -28,8 +28,8 @@ server:
base_path: /_matrix/maubot/v1
# The base path for the UI.
ui_base_path: /_matrix/maubot
# The base path for plugin endpoints. {id} is replaced with the ID of the instance.
plugin_base_path: /_matrix/maubot/plugin/{id}
# The base path for plugin endpoints. The instance ID will be appended directly.
plugin_base_path: /_matrix/maubot/plugin/
# Override path from where to load UI resources.
# Set to false to using pkg_resources to find the path.
override_resource_path: /opt/maubot/frontend