Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
Fixed share path.
Mike Cao9426de90f7d5
diff --git a/src/app/(main)/websites/[websiteId]/settings/SharesTable.tsx b/src/app/(main)/websites/[websiteId]/settings/SharesTable.tsxindex a95ffaf5e..57701ac67 100644--- a/src/app/(main)/websites/[websiteId]/settings/SharesTable.tsx+++ b/src/app/(main)/websites/[websiteId]/settings/SharesTable.tsx@@ -10,10 +10,7 @@ export function SharesTable(props: DataTableProps) {const { cloudMode } = useConfig();const getUrl = (slug: string) => {- if (cloudMode) {- return `${process.env.cloudUrl}/share/${slug}`;- }- return `${window?.location.origin}${process.env.basePath || ''}/share/${slug}`;+ return `${cloudMode ? process.env.cloudUrl : window?.location.origin}${process.env.basePath || ''}/share/${slug}`;};return (