Leaflet Blog in Deno Fresh

dotcom

Changed files
+8 -9
components
lib
routes
+1 -2
components/bluesky-embed.tsx
··· 36 36 }; 37 37 }, [id]); 38 38 39 - const ref_url = 40 - "https://" + "knotbin.xyz/post/" + uri.split("/").pop(); 39 + const ref_url = "https://" + "knotbin.com/post/" + uri.split("/").pop(); 41 40 42 41 const searchParams = new URLSearchParams(); 43 42 searchParams.set("id", id);
+4 -4
lib/env.ts
··· 2 2 3 3 const envVars = { 4 4 NODE_ENV: "production", 5 - PLAUSIBLE_SITE_ID: "knotbin.xyz", 6 - PLAUSIBLE_DOMAIN: "https://plausible.knotbin.xyz", 5 + PLAUSIBLE_SITE_ID: "knotbin.com", 6 + PLAUSIBLE_DOMAIN: "https://plausible.knotbin.com", 7 7 PLAUSIBLE_API_KEY: "", 8 8 NEXT_PUBLIC_BSKY_DID: "did:plc:6hbqm2oftpotwuw7gvvrui3i", 9 9 NEXT_PUBLIC_BSKY_PDS: "https://knotbin.xyz", ··· 16 16 default: "production", 17 17 devDefault: "development", 18 18 }), 19 - PLAUSIBLE_SITE_ID: str({ default: "knotbin.xyz" }), 20 - PLAUSIBLE_DOMAIN: url({ default: "https://plausible.knotbin.xyz" }), 19 + PLAUSIBLE_SITE_ID: str({ default: "knotbin.com" }), 20 + PLAUSIBLE_DOMAIN: url({ default: "https://plausible.knotbin.com" }), 21 21 PLAUSIBLE_API_KEY: str({ default: "" }), 22 22 NEXT_PUBLIC_BSKY_DID: str({ default: "did:plc:6hbqm2oftpotwuw7gvvrui3i" }), 23 23 NEXT_PUBLIC_BSKY_PDS: url({
+3 -3
routes/rss.ts
··· 15 15 16 16 const rss = new RSS({ 17 17 title: "knotbin", 18 - feed_url: "https://knotbin.xyz/rss", 19 - site_url: "https://knotbin.xyz", 18 + feed_url: "https://knotbin.com/rss", 19 + site_url: "https://knotbin.com", 20 20 description: "a webbed site", 21 21 }); 22 22 ··· 30 30 .use(rehypeStringify) 31 31 .process(post.value.content) 32 32 .then((v) => v.toString()), 33 - url: `https://knotbin.xyz/post/${post.uri.split("/").pop()}`, 33 + url: `https://knotbin.com/post/${post.uri.split("/").pop()}`, 34 34 date: new Date(post.value.createdAt ?? Date.now()), 35 35 }); 36 36 }