Make maubot http server serve frontend for production

This commit is contained in:
Tulir Asokan 2018-11-11 00:43:58 +02:00
parent 0264f7b794
commit e0306d29b5
7 changed files with 64 additions and 10 deletions

View file

@ -38,6 +38,9 @@ class Config(BaseFileConfig):
copy("server.hostname")
copy("server.port")
copy("server.listen")
copy("server.base_path")
copy("server.ui_base_path")
copy("server.override_resource_path")
copy("server.appservice_base_path")
shared_secret = self["server.unshared_secret"]
if shared_secret is None or shared_secret == "generate":