From 8fac49ce599bd4986a2c661fa22282c6f918fc4b Mon Sep 17 00:00:00 2001 From: beefchimi Date: Sun, 28 Apr 2024 13:42:45 -0400 Subject: [PATCH] :fire: [Data] Remove onlyfans from the defaultSocialiteNetworks --- src/data.ts | 1 - src/networks/onlyfans.ts | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/data.ts b/src/data.ts index 54791e0..b9258bc 100644 --- a/src/data.ts +++ b/src/data.ts @@ -4,7 +4,6 @@ export const defaultSocialiteNetworks = [ networks.facebook, networks.instagram, networks.linkedin, - networks.onlyfans, networks.reddit, networks.tiktok, networks.twitch, diff --git a/src/networks/onlyfans.ts b/src/networks/onlyfans.ts index 2649c3e..652015d 100644 --- a/src/networks/onlyfans.ts +++ b/src/networks/onlyfans.ts @@ -6,6 +6,8 @@ export const onlyfans: SocialiteNetwork = { preferredUrl: `https://onlyfans.com/${profileReplacement.user}`, matcher: { domain: /onlyfans/, + // Unless we want to qualify this with a `prefix`, + // we probably do not need to include the `user` prop. user: `[^\\/]+`, }, };