chore(env): switch TOS bucket from teammate's to own (cyber-star@cn-shanghai)
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 5m57s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 5m57s
域名变化: 旧: https://cyberstar.tos-cn-shanghai.volces.com/cyber-star (临时桶, 带路径前缀) 新: https://cyber-star.tos-cn-shanghai.volces.com (自有桶, 桶名即子域, 无路径前缀) 操作: - 在自有火山账号下建 cyber-star 桶 (cn-shanghai), 公共读, 对象 ACL 默认公共读 - 网页控制台「上传文件夹」方式把本地 assets-compressed/portraits 和 videos 直接传到桶根 - 切 NEXT_PUBLIC_TOS_DOMAIN 代码无需改动 (tosUrl() 已自动处理), 仅 env 切换。 next.config.ts images.remotePatterns 已包含 *.tos-cn-shanghai.volces.com, 无需更新。 dev 验证: - 首页 / artists/001 / artists/036 / ranking 所有资源 src 全部走新桶 - 旧域名已彻底切除 - portraits/001.webp 200, hero-pv.mp4 200, 缺视频/缺氛围图 3 仍然 404 (预期) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
b3bdb60c81
commit
58da508e7d
@ -19,7 +19,7 @@ TOS_REGION="cn-beijing"
|
||||
TOS_BUCKET="cyber-star"
|
||||
TOS_ACCESS_KEY="CHANGE_ME"
|
||||
TOS_SECRET_KEY="CHANGE_ME"
|
||||
NEXT_PUBLIC_TOS_DOMAIN="https://cyberstar.tos-cn-shanghai.volces.com/cyber-star"
|
||||
NEXT_PUBLIC_TOS_DOMAIN="https://cyber-star.tos-cn-shanghai.volces.com"
|
||||
|
||||
# ── Auth.js 鉴权 ──
|
||||
# 用 `openssl rand -base64 32` 生成
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user