mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #2141 from thornbill/add-remote-image-auth
Add api key to remote image urls
This commit is contained in:
commit
05721b2168
1 changed files with 5 additions and 1 deletions
|
@ -261,7 +261,11 @@ import template from './itemidentifier.template.html';
|
||||||
function getSearchImageDisplayUrl(url, provider) {
|
function getSearchImageDisplayUrl(url, provider) {
|
||||||
const apiClient = getApiClient();
|
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) {
|
function submitIdentficationResult(page) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue