Skip to content

Commit 5eac959

Browse files
committed
FIx paypal path
1 parent 74c86ec commit 5eac959

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

common/src/socials.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ const stripper: { [key in Site]: (input: string) => string } = {
4242
s
4343
.replace(/^(https?:\/\/)?(www\.)?(\w+\.)?substack\.com\//, '')
4444
.replace(/\/$/, ''),
45-
// onlyfans: (s) =>
46-
// s.replace(/^(https?:\/\/)?(www\.)?onlyfans\.com\//, '').replace(/\/$/, ''),
4745
instagram: (s) =>
4846
s
4947
.replace(/^(https?:\/\/)?(www\.)?instagram\.com\//, '')
@@ -80,13 +78,12 @@ const urler: { [key in Site]: (handle: string) => string } = {
8078
mastodon: (s) =>
8179
s.includes('@') ? `https://${s.split('@')[1]}/@${s.split('@')[0]}` : s,
8280
substack: (s) => `https://${s}.substack.com`,
83-
// onlyfans: (s) => `https://onlyfans.com/${s}`,
8481
instagram: (s) => `https://instagram.com/${s}`,
8582
github: (s) => `https://github.com/${s}`,
8683
linkedin: (s) => `https://linkedin.com/in/${s}`,
8784
facebook: (s) => `https://facebook.com/${s}`,
8885
spotify: (s) => `https://open.spotify.com/user/${s}`,
89-
paypal: (s) => `https://paypal.com/user/${s}`,
86+
paypal: (s) => `https://paypal.com/paypalme/${s}`,
9087
patreon: (s) => `https://patreon.com/user/${s}`,
9188
}
9289

@@ -97,7 +94,6 @@ export const PLATFORM_LABELS: { [key in Site]: string } = {
9794
bluesky: 'Bluesky',
9895
mastodon: 'Mastodon',
9996
substack: 'Substack',
100-
// onlyfans: 'OnlyFans',
10197
instagram: 'Instagram',
10298
github: 'GitHub',
10399
linkedin: 'LinkedIn',

0 commit comments

Comments
 (0)