Skip to content

Commit

Permalink
feat(web): Set musicbrainzid as parameter for MagicISRC
Browse files Browse the repository at this point in the history
This prevents false positives on browsers that remove trackers in URLs.
  • Loading branch information
RustyNova016 authored Oct 14, 2024
1 parent e506488 commit 37ca064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/components/ISRCSubmission.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export function MagicISRC({ release, targetMbid }: { release: HarmonyRelease; ta
allTracks.map((track, index) => [`isrc${index + 1}`, track.isrc ?? '']),
);
if (targetMbid) {
query.set('mbid', targetMbid);
query.set('musicbrainzid', targetMbid);
}
const submissionUrl = new URL('https://magicisrc.kepstin.ca');
submissionUrl.search = query.toString();
Expand Down

0 comments on commit 37ca064

Please sign in to comment.