config: enable API by adding a dummy gateway
Otherwise MatterBridge never listens on the API port. Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
98a91cd311
commit
c0f4a30e3c
|
@ -23,7 +23,16 @@ api.api:
|
|||
# These are auto generated by Ansible #
|
||||
#######################################
|
||||
|
||||
|
||||
gateway:
|
||||
{% if matterbridge_api_enabled %}
|
||||
- name: "api"
|
||||
enable: true
|
||||
inout:
|
||||
- account: "api.api"
|
||||
channel: "api"
|
||||
|
||||
{% endif %}
|
||||
{% for gtw in matterbridge_gateways %}
|
||||
- name: "{{ gtw.status | default('bridge#'+(loop.index|string)) | mandatory }}"
|
||||
enable: "true"
|
||||
|
|
Loading…
Reference in New Issue