このコミットが含まれているのは:
Brahim Hadriche 2023-10-26 17:51:38 -04:00
コミット 3881038a32
1個のファイルの変更1行の追加1行の削除

ファイルの表示

@ -163,7 +163,7 @@ module Invidious::Routes::API::V1::Misc
if head_response.headers["location"]?
url = head_response.headers["location"]
end
resolved_url = YoutubeAPI.resolve_url(url.as(String))
endpoint = resolved_url["endpoint"]
pageType = endpoint.dig?("commandMetadata", "webCommandMetadata", "webPageType").try &.as_s || ""