Skip to content

Commit

Permalink
🔥 [Data] Remove onlyfans from the defaultSocialiteNetworks
Browse files Browse the repository at this point in the history
  • Loading branch information
beefchimi committed Apr 28, 2024
1 parent b493f70 commit 8fac49c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ export const defaultSocialiteNetworks = [
networks.facebook,
networks.instagram,
networks.linkedin,
networks.onlyfans,
networks.reddit,
networks.tiktok,
networks.twitch,
Expand Down
2 changes: 2 additions & 0 deletions src/networks/onlyfans.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: `[^\\/]+`,
},
};

0 comments on commit 8fac49c

Please sign in to comment.