mirror of
https://github.com/tiajinsha/JKVideo.git
synced 2026-04-04 22:49:02 +08:00
12 lines
317 B
TypeScript
12 lines
317 B
TypeScript
/**
|
|
* Returns the image URL as-is. Mock data uses https:// picsum.photos URLs
|
|
* which don't require proxying or hotlink workarounds.
|
|
*/
|
|
export function proxyImageUrl(url: string): string {
|
|
return url ?? '';
|
|
}
|
|
|
|
export function coverImageUrl(url: string, _quality: 'hd' | 'normal'): string {
|
|
return url ?? '';
|
|
}
|