tangled
alpha
login
or
join now
knotbin.com
/
blog
0
fork
atom
Leaflet Blog in Deno Fresh
0
fork
atom
overview
issues
pulls
pipelines
dotcom
knotbin.com
11 months ago
356e18fb
e99cb8cb
+8
-9
3 changed files
expand all
collapse all
unified
split
components
bluesky-embed.tsx
lib
env.ts
routes
rss.ts
+1
-2
components/bluesky-embed.tsx
···
36
36
};
37
37
}, [id]);
38
38
39
39
-
const ref_url =
40
40
-
"https://" + "knotbin.xyz/post/" + uri.split("/").pop();
39
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
5
-
PLAUSIBLE_SITE_ID: "knotbin.xyz",
6
6
-
PLAUSIBLE_DOMAIN: "https://plausible.knotbin.xyz",
5
5
+
PLAUSIBLE_SITE_ID: "knotbin.com",
6
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
19
-
PLAUSIBLE_SITE_ID: str({ default: "knotbin.xyz" }),
20
20
-
PLAUSIBLE_DOMAIN: url({ default: "https://plausible.knotbin.xyz" }),
19
19
+
PLAUSIBLE_SITE_ID: str({ default: "knotbin.com" }),
20
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
18
-
feed_url: "https://knotbin.xyz/rss",
19
19
-
site_url: "https://knotbin.xyz",
18
18
+
feed_url: "https://knotbin.com/rss",
19
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
33
-
url: `https://knotbin.xyz/post/${post.uri.split("/").pop()}`,
33
33
+
url: `https://knotbin.com/post/${post.uri.split("/").pop()}`,
34
34
date: new Date(post.value.createdAt ?? Date.now()),
35
35
});
36
36
}