chore(tos): bump cache version 4 → 5 for 019-3 image recrop
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 5m12s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 5m12s
019 氛围图3 was pre-cropped from 9:16 (1440x2560) to 3:4 (1440x1920) to remove the empty bamboo decoration above the head and frame the upper body. Same URL with new content, so version bump forces CDN + browsers to refetch. TOS upload: portraits/019-3.webp (overwrites). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
034bb7ff42
commit
85717d557d
@ -14,7 +14,7 @@
|
|||||||
* 立即看到更新后的内容,不必等 TTL 过期或手动 invalidate。
|
* 立即看到更新后的内容,不必等 TTL 过期或手动 invalidate。
|
||||||
*/
|
*/
|
||||||
const TOS_BASE = (process.env.NEXT_PUBLIC_TOS_DOMAIN ?? "").replace(/\/+$/, "");
|
const TOS_BASE = (process.env.NEXT_PUBLIC_TOS_DOMAIN ?? "").replace(/\/+$/, "");
|
||||||
const TOS_VERSION = "4";
|
const TOS_VERSION = "5";
|
||||||
|
|
||||||
export function tosUrl(path: string): string {
|
export function tosUrl(path: string): string {
|
||||||
const clean = path.replace(/^\/+/, "");
|
const clean = path.replace(/^\/+/, "");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user