diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-09-04 02:18:47 +0200 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-09-04 02:18:47 +0200 |
commit | 7e40421d0eaee613be5b807502eb25fafebde5b1 (patch) | |
tree | af84e4c39fd0c3cfa05e1b66fb566d5cda59607f /MxApiExtensions/appsettings.json | |
parent | Code cleanup (diff) | |
download | MxApiExtensions-7e40421d0eaee613be5b807502eb25fafebde5b1.tar.xz |
Added a lot of utilities
Diffstat (limited to 'MxApiExtensions/appsettings.json')
-rw-r--r-- | MxApiExtensions/appsettings.json | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/MxApiExtensions/appsettings.json b/MxApiExtensions/appsettings.json index 0163bad..5a73cbe 100644 --- a/MxApiExtensions/appsettings.json +++ b/MxApiExtensions/appsettings.json @@ -6,7 +6,29 @@ } }, "AllowedHosts": "*", - "MxSyncCache": { - "Homeserver": "https://matrix.rory.gay" + // Configuration for the proxy + "MxApiExtensions": { + // WARNING: this exposes user tokens to servers listed here, which could be a security risk + // Only list servers you trust! + // Keep in mind that token conflicts can occur between servers! + "AuthHomeservers": [ + "rory.gay", + "conduit.rory.gay" + ], + // List of administrator MXIDs for the proxy, this allows them to use administrative and debug endpoints + "Admins": [ + "@emma:rory.gay", + "@emma:conduit.rory.gay" + ], + "FastInitialSync": { + "Enabled": true, + "UseRoomInfoCache": true + }, + "Cache": { + "RoomInfo": { + "BaseTtl": "00:01:00", + "ExtraTtlPerState": "00:00:00.1000000" + } + } } } |