Skip to content

The only tool you need to know what is happening and how to fix it.

fix: running without billing should work

dduxd87c941350df
diff --git a/frontend/svelte.config.js b/frontend/svelte.config.js
index 85e361fd..499b9d07 100644
--- a/frontend/svelte.config.js
+++ b/frontend/svelte.config.js
@@ -4,8 +4,8 @@ import { existsSync } from 'fs';
import path from 'path';
const billingPath = process.env.BILLING_PATH;
-const resolvedBillingPath = path.resolve(process.cwd(), billingPath);
-const billingExists = existsSync(resolvedBillingPath);
+const resolvedBillingPath = billingPath ? path.resolve(process.cwd(), billingPath) : undefined;
+const billingExists = resolvedBillingPath ? existsSync(resolvedBillingPath) : false;
/** @type {import('@sveltejs/kit').Config} */
const config = {