fix: cloud subscription flag

This commit is contained in:
Ahmed Bouhuolia
2025-11-30 22:38:00 +02:00
parent e196d485cf
commit 3648fb3ffc
6 changed files with 21 additions and 5 deletions

View File

@@ -0,0 +1,5 @@
import { registerAs } from '@nestjs/config';
export default registerAs('cloud', () => ({
hostedOnCloud: process.env.HOSTED_ON_BIGCAPITAL_CLOUD === 'true',
}));

View File

@@ -15,9 +15,11 @@ import mail from './mail';
import loops from './loops';
import bankfeed from './bankfeed';
import throttle from './throttle';
import cloud from './cloud';
export const config = [
systemDatabase,
cloud,
tenantDatabase,
signup,
gotenberg,