Przeglądaj źródła

enable hookshot outbound webhooks

pull/3547/head
Aine 1 rok temu
rodzic
commit
a541f51944
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: 34969C908CCA2804
2 zmienionych plików z 2 dodań i 0 usunięć
  1. +1
    -0
      roles/custom/matrix-bridge-hookshot/defaults/main.yml
  2. +1
    -0
      roles/custom/matrix-bridge-hookshot/templates/config.yml.j2

+ 1
- 0
roles/custom/matrix-bridge-hookshot/defaults/main.yml Wyświetl plik

@@ -153,6 +153,7 @@ matrix_hookshot_jira_oauth_redirect_uri: "{{ matrix_hookshot_urlprefix }}{{ matr

# No need to change these
matrix_hookshot_generic_enabled: true
matrix_hookshot_generic_outbound: true
matrix_hookshot_generic_enableHttpGet: false # noqa var-naming
# Default value of matrix_hookshot_generic_endpoint: "/hookshot/webhooks"
matrix_hookshot_generic_endpoint: "{{ matrix_hookshot_webhook_endpoint }}/webhook"


+ 1
- 0
roles/custom/matrix-bridge-hookshot/templates/config.yml.j2 Wyświetl plik

@@ -74,6 +74,7 @@ generic:
# (Optional) Support for generic webhook events. `allowJsTransformationFunctions` will allow users to write short transformation snippets in code, and thus is unsafe in untrusted environments
#
enabled: {{ matrix_hookshot_generic_enabled | to_json }}
outbound: {{ matrix_hookshot_generic_outbound | to_json }}
enableHttpGet: {{ matrix_hookshot_generic_enableHttpGet | to_json }}
urlPrefix: {{ matrix_hookshot_generic_urlPrefix | to_json }}
userIdPrefix: {{ matrix_hookshot_generic_userIdPrefix | to_json }}


Ładowanie…
Anuluj
Zapisz