fix self-hosting

This commit is contained in:
Carl-Gerhard Lindesvärd
2025-10-22 11:38:37 +02:00
parent 9790ba8937
commit 42d0fb8572
11 changed files with 202 additions and 38 deletions

View File

@@ -33,7 +33,7 @@ async function createOrGetOrganization(
},
});
if (process.env.VITE_SELF_HOSTED !== 'true' && !process.env.SELF_HOSTED) {
if (!process.env.SELF_HOSTED) {
await addTrialEndingSoonJob(
organization.id,
1000 * 60 * 60 * 24 * TRIAL_DURATION_IN_DAYS * 0.9,