Skip to content

Commit

Permalink
Use |to_json in maubot configuration
Browse files Browse the repository at this point in the history
Related to #1894
  • Loading branch information
spantaleev committed Jul 20, 2022
1 parent e5238bf commit b575409
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/matrix-bot-maubot/templates/config/config.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ server:
hostname: 0.0.0.0
port: 29316
# Public base URL where the server is visible.
public_url: {{ matrix_bot_maubot_bot_server_public_url }}
public_url: {{ matrix_bot_maubot_bot_server_public_url|to_json }}
# The base management API path.
base_path: /_matrix/maubot/v1
# The base path for the UI.
Expand Down Expand Up @@ -65,7 +65,7 @@ homeservers:

# List of administrator users. Plaintext passwords will be bcrypted on startup. Set empty password
# to prevent normal login. Root is a special user that can't have a password and will always exist.
admins: {{ matrix_bot_maubot_admins | combine( {"root": ""} ) }}
admins: {{ matrix_bot_maubot_admins | combine( {"root": ""} )|to_json }}

api_features:
login: true
Expand Down

0 comments on commit b575409

Please sign in to comment.