1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Add api key to remote image urls

This commit is contained in:
Bill Thornton 2020-11-30 00:19:44 -05:00
parent e56414ebe8
commit a513685954

View file

@ -261,7 +261,11 @@ import template from './itemidentifier.template.html';
function getSearchImageDisplayUrl(url, provider) {
const apiClient = getApiClient();
return apiClient.getUrl('Items/RemoteSearch/Image', { imageUrl: url, ProviderName: provider });
return apiClient.getUrl('Items/RemoteSearch/Image', {
imageUrl: url,
ProviderName: provider,
api_key: apiClient.accessToken()
});
}
function submitIdentficationResult(page) {