Skip to content

Commit f7d07a1

Browse files
authored
feat(lyrics-plus/lrclib): use x-user-agent
CORS accepts it and is logged by lrclib: https://github.com/tranxuanthang/lrclib/blob/main/server/src/lib.rs#L97
1 parent f564dfe commit f7d07a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CustomApps/lyrics-plus/ProviderLRCLIB.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const ProviderLRCLIB = (() => {
1515

1616
const body = await fetch(finalURL, {
1717
headers: {
18-
"user-agent": `spicetify v${Spicetify.Config.version} (https://github.com/spicetify/cli)`,
18+
"x-user-agent": `spicetify v${Spicetify.Config.version} (https://github.com/spicetify/cli)`,
1919
},
2020
});
2121

0 commit comments

Comments
 (0)