From 5eac959d15463186d73d818710d9b35065d04836 Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Wed, 17 Sep 2025 15:20:49 +0200 Subject: [PATCH] FIx paypal path --- common/src/socials.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/common/src/socials.ts b/common/src/socials.ts index be7d0b1b..8af8d764 100644 --- a/common/src/socials.ts +++ b/common/src/socials.ts @@ -42,8 +42,6 @@ const stripper: { [key in Site]: (input: string) => string } = { s .replace(/^(https?:\/\/)?(www\.)?(\w+\.)?substack\.com\//, '') .replace(/\/$/, ''), - // onlyfans: (s) => - // s.replace(/^(https?:\/\/)?(www\.)?onlyfans\.com\//, '').replace(/\/$/, ''), instagram: (s) => s .replace(/^(https?:\/\/)?(www\.)?instagram\.com\//, '') @@ -80,13 +78,12 @@ const urler: { [key in Site]: (handle: string) => string } = { mastodon: (s) => s.includes('@') ? `https://${s.split('@')[1]}/@${s.split('@')[0]}` : s, substack: (s) => `https://${s}.substack.com`, - // onlyfans: (s) => `https://onlyfans.com/${s}`, instagram: (s) => `https://instagram.com/${s}`, github: (s) => `https://github.com/${s}`, linkedin: (s) => `https://linkedin.com/in/${s}`, facebook: (s) => `https://facebook.com/${s}`, spotify: (s) => `https://open.spotify.com/user/${s}`, - paypal: (s) => `https://paypal.com/user/${s}`, + paypal: (s) => `https://paypal.com/paypalme/${s}`, patreon: (s) => `https://patreon.com/user/${s}`, } @@ -97,7 +94,6 @@ export const PLATFORM_LABELS: { [key in Site]: string } = { bluesky: 'Bluesky', mastodon: 'Mastodon', substack: 'Substack', - // onlyfans: 'OnlyFans', instagram: 'Instagram', github: 'GitHub', linkedin: 'LinkedIn',