this repo has no description
0
fork

Configure Feed

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

no plausible atm

alice 97deda5a 51e97154

+12 -8
+1 -1
next.config.mjs
··· 16 16 17 17 // TODO: janky 18 18 const USE_PLAUSIBLE = false; 19 - const PLAUSIBLE_DOMAIN = "plausible.alice.bsky.sh"; 19 + const PLAUSIBLE_DOMAIN = "plausible.bsky.sh"; 20 20 21 21 if (USE_PLAUSIBLE) { 22 22 nextConfig = withPlausibleProxy({
+9 -7
src/app/layout.tsx
··· 5 5 import { cx } from "#/lib/cx"; 6 6 import "./globals.css"; 7 7 8 - import { CLOUDFLARE_BEACON_TOKEN, DESCRIPTION, HOSTNAME } from "#/lib/config"; 8 + import { CLOUDFLARE_BEACON_TOKEN, DESCRIPTION, HOSTNAME, PLAUSIBLE_DOMAIN, USE_PLAUSIBLE } from "#/lib/config"; 9 9 import Script from "next/script"; 10 10 11 11 const sans = Inter({ ··· 46 46 return ( 47 47 <html lang="en"> 48 48 <head> 49 - <NextPlausible 50 - domain={HOSTNAME} 51 - customDomain={`https://plausible.${HOSTNAME}`} 52 - trackOutboundLinks 53 - selfHosted 54 - /> 49 + {USE_PLAUSIBLE && ( 50 + <NextPlausible 51 + domain={HOSTNAME} 52 + customDomain={`https://${PLAUSIBLE_DOMAIN}`} 53 + trackOutboundLinks 54 + selfHosted 55 + /> 56 + )} 55 57 </head> 56 58 <body 57 59 className={cx(
+2
src/lib/config.ts
··· 7 7 "this is a blog. there are many like it, but this one is mine."; 8 8 export const GITHUB_USERNAME = "aliceisjustplaying"; 9 9 export const CLOUDFLARE_BEACON_TOKEN = "80339998c1034152803ce2df95a47a56"; 10 + export const USE_PLAUSIBLE = false; 11 + export const PLAUSIBLE_DOMAIN = "plausible.bsky.sh";