Просмотр исходного кода

Added |to_json to the config.yaml template

pull/929/head
Yannick Goossens 5 лет назад
Родитель
Сommit
49028f1b05
1 измененных файлов: 4 добавлений и 4 удалений
  1. +4
    -4
      roles/matrix-bot-go-neb/templates/config.yaml.j2

+ 4
- 4
roles/matrix-bot-go-neb/templates/config.yaml.j2 Просмотреть файл

@@ -19,14 +19,14 @@
# See the docs for /configureClient for the full list of options:
# https://matrix-org.github.io/go-neb/pkg/github.com/matrix-org/go-neb/api/index.html#ClientConfig
clients:
{{ matrix_bot_go_neb_clients }}
{{ matrix_bot_go_neb_clients|to_json }}

# The list of realms which Go-NEB is aware of.
# Delete or modify this list as appropriate.
# See the docs for /configureAuthRealm for the full list of options:
# https://matrix-org.github.io/go-neb/pkg/github.com/matrix-org/go-neb/api/index.html#ConfigureAuthRealmRequest
realms:
{{ matrix_bot_go_neb_realms }}
{{ matrix_bot_go_neb_realms|to_json }}

# The list of *authenticated* sessions which Go-NEB is aware of.
# Delete or modify this list as appropriate.
@@ -34,11 +34,11 @@ realms:
# which maps to this section.
# https://matrix-org.github.io/go-neb/pkg/github.com/matrix-org/go-neb/api/index.html#Session
sessions:
{{ matrix_bot_go_neb_sessions }}
{{ matrix_bot_go_neb_sessions|to_json }}

# The list of services which Go-NEB is aware of.
# Delete or modify this list as appropriate.
# See the docs for /configureService for the full list of options:
# https://matrix-org.github.io/go-neb/pkg/github.com/matrix-org/go-neb/api/index.html#ConfigureServiceRequest
services:
{{ matrix_bot_go_neb_services }}
{{ matrix_bot_go_neb_services|to_json }}

Загрузка…
Отмена
Сохранить