This repository has no description
0

Configure Feed

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

web: remove unused cfg field

Signed-off-by: dawn <dawn@tangled.org>

author
dawn
date (Jul 31, 2026, 10:57 PM +0300) commit 4b3b9c14 parent ccb187fe change-id ltoklxyl
+1 -5
-1
web/src/app.d.ts
··· 5 5 bobbinUrl: string; 6 6 knotMirrorUrl: string; 7 7 apiUrl: string; 8 - knotResolverUrl: string; 9 8 camoEnabled: boolean; 10 9 }; 11 10 }
+1 -4
web/src/lib/server/config.ts
··· 9 9 bobbinUrl: string; 10 10 knotMirrorUrl: string; 11 11 apiUrl: string; 12 - knotResolverUrl: string; 13 12 camoUrl: string; 14 13 avatarUrl: string; 15 14 /** the secrets camo and avatar sign with, so neither leaves the server */ ··· 19 18 20 19 export type PublicWebConfig = Pick< 21 20 WebConfig, 22 - "bobbinUrl" | "knotMirrorUrl" | "apiUrl" | "knotResolverUrl" 21 + "bobbinUrl" | "knotMirrorUrl" | "apiUrl" 23 22 > & { 24 23 /** camo has a secret, so markup can route images through it */ 25 24 camoEnabled: boolean; ··· 41 40 bobbinUrl: cleanUrl(values.BOBBIN_URL, "http://127.0.0.1:8090"), 42 41 knotMirrorUrl: cleanUrl(values.KNOTMIRROR_URL, ""), 43 42 apiUrl: cleanUrl(values.TANGLED_API_URL ?? values.API_URL, "http://127.0.0.1:8080"), 44 - knotResolverUrl: cleanUrl(values.KNOT_RESOLVER_URL, "https://knot1.tangled.sh"), 45 43 camoUrl: cleanUrl(values.CAMO_URL, "https://camo.tangled.sh"), 46 44 avatarUrl: cleanUrl(values.AVATAR_URL, "https://avatar.tangled.sh"), 47 45 camoSecret: values.CAMO_SHARED_SECRET?.trim() ?? "", ··· 58 56 bobbinUrl: config.bobbinUrl, 59 57 knotMirrorUrl: config.knotMirrorUrl, 60 58 apiUrl: config.apiUrl, 61 - knotResolverUrl: config.knotResolverUrl, 62 59 camoEnabled: config.camoSecret !== "" 63 60 }; 64 61 };