This commit is contained in:
syuilo
2022-12-20 15:11:20 +09:00
parent d750f506b9
commit 9d7812f436
4 changed files with 11 additions and 8 deletions

View File

@@ -82,7 +82,7 @@ if (requestUrl.hostname === 'music.youtube.com' && requestUrl.pathname.match('^/
requestUrl.hostname = 'www.youtube.com';
}
const requestLang = (lang || 'ja-JP').replace('ja-KS', 'ja-JP');
const requestLang = (lang ?? 'ja-JP').replace('ja-KS', 'ja-JP');
requestUrl.hash = '';