mirror of
https://github.com/docmost/docmost.git
synced 2025-11-18 22:01:11 +10:00
* configurable trial days
* hide create sso provider in cloud
This commit is contained in:
@ -45,10 +45,7 @@ export class EnvironmentService {
|
||||
}
|
||||
|
||||
getDatabaseMaxPool(): number {
|
||||
return parseInt(
|
||||
this.configService.get<string>('DATABASE_MAX_POOL', '10'),
|
||||
10,
|
||||
);
|
||||
return parseInt(this.configService.get<string>('DATABASE_MAX_POOL', '10'));
|
||||
}
|
||||
|
||||
getRedisUrl(): string {
|
||||
@ -171,8 +168,8 @@ export class EnvironmentService {
|
||||
return this.configService.get<string>('STRIPE_WEBHOOK_SECRET');
|
||||
}
|
||||
|
||||
getEnterpriseKey(): string {
|
||||
return this.configService.get<string>('ENTERPRISE_KEY');
|
||||
getBillingTrialDays(): number {
|
||||
return parseInt(this.configService.get<string>('BILLING_TRIAL_DAYS', '14'));
|
||||
}
|
||||
|
||||
getCollabUrl(): string {
|
||||
|
||||
Reference in New Issue
Block a user