mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 13:17:08 +00:00
update default config
This commit is contained in:
parent
a3b878f4ba
commit
eb16bb761a
@ -51,7 +51,7 @@ export async function start(config: BridgeConfig, registration: IAppserviceRegis
|
||||
|
||||
const botUsersManager = new BotUsersManager(config, appservice);
|
||||
|
||||
const tokenStore = await UserTokenStore.fromKeyPath(config.passFile , appservice.botIntent, config);
|
||||
const tokenStore = await UserTokenStore.fromKeyPath(appservice.botIntent, config);
|
||||
const bridgeApp = new Bridge(config, tokenStore, listener, appservice, storage, botUsersManager);
|
||||
|
||||
process.once("SIGTERM", () => {
|
||||
|
@ -413,7 +413,7 @@ export interface BridgeConfigRoot {
|
||||
logging: BridgeConfigLogging;
|
||||
metrics?: BridgeConfigMetrics;
|
||||
passFile: string;
|
||||
legacyPassFile: string;
|
||||
legacyPassFile?: string;
|
||||
permissions?: BridgeConfigActorPermission[];
|
||||
provisioning?: BridgeConfigProvisioning;
|
||||
queue?: BridgeConfigQueue;
|
||||
@ -444,7 +444,7 @@ export class BridgeConfig {
|
||||
Run openssl genpkey -out passkey.pem -outform PEM -algorithm RSA -pkeyopt rsa_keygen_bits:4096 to generate`)
|
||||
public readonly passFile: string;
|
||||
@configKey(`A passkey that can be used to decrypt old values, and will not be used to encrypt new values.`, true)
|
||||
public readonly legacyPassFile: string;
|
||||
public readonly legacyPassFile?: string;
|
||||
@configKey("Configure this to enable GitHub support", true)
|
||||
public readonly github?: BridgeConfigGitHub;
|
||||
@configKey("Configure this to enable GitLab support", true)
|
||||
|
Loading…
x
Reference in New Issue
Block a user