From 486a0bddb9356cce6ce86d643f110056ca633d72 Mon Sep 17 00:00:00 2001 From: Xylight Date: Sun, 18 Aug 2024 13:56:36 -0700 Subject: [PATCH] feat: add spinscore.io to post link actions --- src/lib/components/lemmy/post/link/PostLinkSources.svelte | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/lib/components/lemmy/post/link/PostLinkSources.svelte b/src/lib/components/lemmy/post/link/PostLinkSources.svelte index 19a2a16e..0b53fce1 100644 --- a/src/lib/components/lemmy/post/link/PostLinkSources.svelte +++ b/src/lib/components/lemmy/post/link/PostLinkSources.svelte @@ -28,6 +28,12 @@ name: 'Ground News', type: 'embed', }, + { + getLink: (url: string) => + `https://spinscore.io/?url=${encodeURIComponent(url.split('?')[0])}`, + name: 'spinscore.io', + type: 'embed', + }, ]