mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-09 20:29:36 +02:00
Remove unused utils
This commit is contained in:
@@ -1,19 +0,0 @@
|
|||||||
export const getImageUrl = (
|
|
||||||
serverType: string,
|
|
||||||
baseUrl: string,
|
|
||||||
imageId: string,
|
|
||||||
token?: string
|
|
||||||
) => {
|
|
||||||
if (serverType === 'jellyfin') {
|
|
||||||
return (
|
|
||||||
`${baseUrl}/Items` +
|
|
||||||
`/${imageId}` +
|
|
||||||
`/Images/Primary` +
|
|
||||||
'?fillHeight=200' +
|
|
||||||
`&fillWidth=200` +
|
|
||||||
'&quality=90'
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
return '';
|
|
||||||
};
|
|
||||||
@@ -8,6 +8,4 @@ export * from './folder-permissions';
|
|||||||
export * from './is-array-equal';
|
export * from './is-array-equal';
|
||||||
export * from './is-json-string';
|
export * from './is-json-string';
|
||||||
export * from './unique-array';
|
export * from './unique-array';
|
||||||
export * from './zod-validation';
|
|
||||||
export * from './get-image-url';
|
|
||||||
export * from './random-string';
|
export * from './random-string';
|
||||||
|
|||||||
Reference in New Issue
Block a user