v0.4.2: host preview icons on OSS for slim Pages deploys.
Add STATIC_ASSET_BASE so Cloudflare Pages ships ~2MB HTML/JS/data; icons served from climperor OSS via _oss_static_assets.py. New machines can deploy without local fetch scripts. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -4,6 +4,19 @@
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [0.4.2] - 2026-07-27
|
||||
|
||||
### Changed
|
||||
|
||||
- 关系预览静态图标(头像 / 装备 / 技能 / 属性等)改由阿里云 OSS 同桶托管;
|
||||
`config.js` 新增 `STATIC_ASSET_BASE`,生产 Pages 包体约 **2 MB**(仅
|
||||
HTML/JS/data),换机部署无需本地 fetch 图标。同步脚本
|
||||
`_oss_static_assets.py upload`。
|
||||
|
||||
### Added
|
||||
|
||||
- 新增 `_oss_static_assets.py`:将 portrait/item/ability 等图标同步到 OSS。
|
||||
|
||||
## [0.4.1] - 2026-07-27
|
||||
|
||||
### Changed
|
||||
|
||||
Reference in New Issue
Block a user