fix(glass): reuse CORS wallpaper sources (#640)

This commit is contained in:
InfinityPacer
2026-08-04 16:35:17 +08:00
committed by GitHub
parent a545f88b3c
commit afc95ad990
6 changed files with 92 additions and 10 deletions
@@ -103,6 +103,7 @@ async function goPlay() {
@keyup.enter="goPlay"
@keyup.space="goPlay"
>
<!-- 媒体服务器图片统一采用匿名 CORS避免同一代理资源分裂为两种请求与缓存模式Safari 普通 dev 可能重复请求PWA 下由图片缓存路由统一处理 -->
<VImg
:src="imageUrl"
crossorigin="anonymous"
+1
View File
@@ -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"