🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.
don't show subscribe for self-hosted
Bill Yang2af43a17b6e3
diff --git a/client/src/app/signup/page.tsx b/client/src/app/signup/page.tsxindex 35602632b..35ddca2df 100644--- a/client/src/app/signup/page.tsx+++ b/client/src/app/signup/page.tsx@@ -169,9 +169,11 @@ function SignupPageContent() {try {const normalizedDomain = normalizeDomain(domain);const response = await addSite(normalizedDomain, normalizedDomain, organizationId);- // Navigate directly to dashboard after adding website- // router.push(`/${response.siteId}`);- router.push("/subscribe?siteId=" + response.siteId);+ if (IS_CLOUD) {+ router.push("/subscribe?siteId=" + response.siteId);+ } else {+ router.push(`/${response.siteId}`);+ }} catch (error) {setError(String(error));}