Skip to content

Commit d8a4e1b

Browse files
authored
fix(smartlink_importer): correctly derive EU MB server name (#1053)
1 parent 75a8d68 commit d8a4e1b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib/smart-link-importer/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ function createPanel(config: SmartLinkImporterConfig, server: MusicBrainzServer)
318318
for (const value of MUSICBRAINZ_SERVERS) {
319319
const option = document.createElement('option');
320320
option.value = value;
321-
option.textContent = value === MUSICBRAINZ_SERVERS[0] ? 'musicbrainz.org' : 'beta.musicbrainz.org';
321+
option.textContent = new URL(value).hostname;
322322
option.selected = value === server;
323323
serverSelect.appendChild(option);
324324
}

0 commit comments

Comments
 (0)