cloud trial refactor

This commit is contained in:
Philipinho
2025-04-23 16:07:58 +01:00
parent c528f7e858
commit 08f223899a
6 changed files with 15 additions and 5 deletions

View File

@ -42,6 +42,9 @@ export class StaticModule implements OnModuleInit {
? this.environmentService.getSubdomainHost()
: undefined,
COLLAB_URL: this.environmentService.getCollabUrl(),
BILLING_TRIAL_DAYS: this.environmentService.isCloud()
? this.environmentService.getBillingTrialDays()
: undefined,
};
const windowScriptContent = `<script>window.CONFIG=${JSON.stringify(configString)};</script>`;