nodes/htz.ex42-1048908: update element-web config
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-02-20 11:10:08 +01:00
parent 1ac6559b9f
commit 014b6029c5
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 13 additions and 10 deletions

View file

@ -1,6 +1,6 @@
assert node.has_bundle('nodejs')
from json import dumps
from bundlewrap.metadata import metadata_to_json
element_web_root = '/var/www/{}'.format(node.metadata['element-web']['url'])
@ -20,7 +20,7 @@ git_deploy = {
files = {
element_web_root + '/webapp/config.json': {
'content': dumps(node.metadata['element-web']['config']),
'content': metadata_to_json(node.metadata['element-web']['config']),
'needs': {
'action:element-web_yarn',
},

View file

@ -91,20 +91,23 @@ nodes['htz.ex42-1048908'] = {
'url': 'chat.franzi.business',
'version': 'v1.7.21',
'config': {
'default_server_name': 'franzi.business',
'default_server_config': {
'm.homeserver': {
'base_url': 'https://matrix.franzi.business',
'server_name': 'franzi.business',
},
},
'brand': 'franzi.business',
'showLabsSettings': True,
'integrations_ui_url': 'https://dimension.franzi.business/riot',
'integrations_rest_url': 'https://dimension.franzi.business/api/v1/scalar',
'integrations_widgets_urls': ['https://dimension.franzi.business/widgets'],
'integrations_widgets_urls': {
'https://dimension.franzi.business/widgets'
},
'default_theme': 'dark',
'defaultCountryCode': 'DE',
'features': {
'feature_bridge_state': 'labs',
'feature_font_scaling': 'labs',
'feature_irc_ui': 'labs',
'feature_mjolnir': 'labs',
'feature_presence_in_room_list': 'labs',
'jitsi': {
'preferredDomain': 'meet.ffmuc.net',
},
},
},