mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 07:28:37 +08:00
fix(glass): reuse CORS wallpaper sources (#640)
This commit is contained in:
@@ -103,6 +103,7 @@ async function goPlay() {
|
||||
@keyup.enter="goPlay"
|
||||
@keyup.space="goPlay"
|
||||
>
|
||||
<!-- 媒体服务器图片统一采用匿名 CORS,避免同一代理资源分裂为两种请求与缓存模式;Safari 普通 dev 可能重复请求,PWA 下由图片缓存路由统一处理。 -->
|
||||
<VImg
|
||||
:src="imageUrl"
|
||||
crossorigin="anonymous"
|
||||
|
||||
@@ -63,6 +63,7 @@ async function goPlay(isHovering: boolean | null = false) {
|
||||
'ring-1': isImageLoaded,
|
||||
}"
|
||||
>
|
||||
<!-- 媒体服务器图片统一采用匿名 CORS,避免同一代理资源分裂为两种请求与缓存模式;Safari 普通 dev 可能重复请求,PWA 下由图片缓存路由统一处理。 -->
|
||||
<VImg
|
||||
aspect-ratio="2/3"
|
||||
:src="getImgUrl"
|
||||
|
||||
Reference in New Issue
Block a user