this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

conditional plausible

alice c4f7a12e 56ad00ae

+9 -3
+7 -3
next.config.mjs
··· 14 14 }, 15 15 }; 16 16 17 - export default withPlausibleProxy({ 18 - customDomain: "https://plausible.mozzius.dev", 19 - })(nextConfig); 17 + if (USE_PLAUSIBLE) { 18 + nextConfig = withPlausibleProxy({ 19 + customDomain: `https://${PLAUSIBLE_DOMAIN}`, 20 + })(nextConfig); 21 + } 22 + 23 + export default nextConfig;
+2
src/lib/config.ts
··· 6 6 export const DESCRIPTION = 7 7 "this is a blog. there are many like it, but this one is mine."; 8 8 export const GITHUB_USERNAME = "aliceisjustplaying"; 9 + export const USE_PLAUSIBLE = false; 10 + export const PLAUSIBLE_DOMAIN = "plausible.mozzius.dev";