mirror of
https://github.com/maubot/maubot
synced 2025-08-29 12:10:38 +00:00
Add database_opts to example config
This commit is contained in:
parent
fe8658ebc1
commit
c4f9a3bdf5
2 changed files with 9 additions and 0 deletions
|
@ -33,6 +33,7 @@ class Config(BaseFileConfig):
|
|||
base = helper.base
|
||||
copy = helper.copy
|
||||
copy("database")
|
||||
copy("database_opts")
|
||||
if isinstance(self["crypto_database"], dict):
|
||||
if self["crypto_database.type"] == "postgres":
|
||||
base["crypto_database"] = self["crypto_database.postgres_uri"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue