mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-19 15:24:09 -04:00
Pass config_dir_path and data_dir_path into Config.read_config. (#5522)
* Pull config_dir_path and data_dir_path calculation out of read_config_files * Pass config_dir_path and data_dir_path into read_config
This commit is contained in:
parent
21bf4318b5
commit
c3c6b00d95
35 changed files with 104 additions and 67 deletions
|
@ -40,7 +40,7 @@ DEFAULT_ROOM_VERSION = "4"
|
|||
|
||||
|
||||
class ServerConfig(Config):
|
||||
def read_config(self, config):
|
||||
def read_config(self, config, **kwargs):
|
||||
self.server_name = config["server_name"]
|
||||
self.server_context = config.get("server_context", None)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue