feat: add room to api config

This commit is contained in:
Alex Kelly 2021-11-09 08:57:46 -05:00
commit e42aa941e5
4 changed files with 43 additions and 24 deletions

View file

@ -1,4 +1,4 @@
hostname: localhost
host: localhost
port: 4785
# matrix-specific settings
matrix:
@ -11,11 +11,9 @@ matrix:
# keys to allow These should be random strings
# these could be generated with something like `openssl rand -hex 24`
# change these, you only need
api:
keys:
# change these keys.
- d6a26923e41492d89cffd9e5b6d9838a89e71ffa061edb5d # Can add a comment for what the key is used
- 149d866b2591ceee2b254ca8b16c08fd27a7e2eed7ff01e0
# location of logfile
api_keys:
RanomdTextForKey: "!room_id:server.domain" # Can add a comment for what the key is used
secondRandomkey: "!a_different_room_id:server.domain"
thirdKey: #This one has no room specified, so it must be specified in the payload data or url
log:
level: debug