Skip to content

Commit

Permalink
Cosmetic code changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
SpacingBat3 committed Jan 28, 2024
1 parent abe967a commit 83d7227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/code/common/modules/urlTrack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default function removeTrackingFromURIs(url:URL|string) {
switch(urlObj.hostname) {
case "cdn.discordapp.com":
for(const el of [...urlObj.searchParams])
urlObj.searchParams.delete(el[0],el[1]);
urlObj.searchParams.delete(...el);
break;
}
return urlObj;
Expand Down

0 comments on commit 83d7227

Please sign in to comment.