Let plugins add their endpoints to the main webserver

This commit is contained in:
Tulir Asokan 2019-03-06 22:22:34 +02:00
parent 79c61d6889
commit f303bd66ab
7 changed files with 43 additions and 7 deletions

View file

@ -26,6 +26,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}
# Override path from where to load UI resources.
# Set to false to using pkg_resources to find the path.
override_resource_path: false