mirror of
https://github.com/spacebarchat/server.git
synced 2026-06-09 17:12:11 +00:00
Implement signed cdn urls
This commit is contained in:
@@ -37,4 +37,8 @@ export class SecurityConfiguration {
|
||||
mfaBackupCodeCount: number = 10;
|
||||
statsWorldReadable: boolean = true;
|
||||
defaultRegistrationTokenExpiration: number = 1000 * 60 * 60 * 24 * 7; //1 week
|
||||
// cdn signed urls
|
||||
cdnSignUrls: boolean = false;
|
||||
cdnSignatureKey: string = crypto.randomBytes(32).toString("base64");
|
||||
cdnSignatureDuration: string = "24h";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user