Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
feat: Only add Dub script if Cap deployment
Richie McIlroyde996092e863
diff --git a/apps/web/app/layout.tsx b/apps/web/app/layout.tsxindex 87bd717cb..ba102aa30 100644--- a/apps/web/app/layout.tsx+++ b/apps/web/app/layout.tsx@@ -128,11 +128,13 @@ export default async function RootLayout({ children }: PropsWithChildren) {</AuthContextProvider></PostHogProvider></TooltipPrimitive.Provider>- <DubAnalytics- domainsConfig={{- refer: "cap.link",- }}- />+ {buildEnv.NEXT_PUBLIC_IS_CAP && (+ <DubAnalytics+ domainsConfig={{+ refer: "cap.link",+ }}+ />+ )}</body></html>);