Merge branch 'dev' of https://github.com/umami-software/umami into analytics

This commit is contained in:
Francis Cao committed 2026-02-05 11:11:36 -08:00
commit 6c793325e2
3 files changed
+17 -4

No files matched your search

@@ -11,7 +11,10 @@ export function SharesTable(props: DataTableProps) {
const { isMobile } = useMobile();
const getUrl = (slug: string) => {
return `${cloudMode ? process.env.cloudUrl : window?.location.origin}${process.env.basePath || ''}/share/${slug}`;
if (cloudMode) {
return `${process.env.cloudUrl}/share/${slug}`;
}
return `${window?.location.origin}${process.env.basePath || ''}/share/${slug}`;
};
return (