跳到主要内容

读取本地对象存储中的公开头像

GET 

/storage/avatars/:userId/:fileName

仅在 Server 以 STEAMHARNESS_STORAGE_DRIVER=local 运行时挂载。按内容哈希读取不可变头像; 该路由只服务头像,storage/workflows/** 始终不可达。

Request​

Responses​

头像图片,响应可长期公开缓存。

Response Headers
    Cache-Control
    Example: public, max-age=31536000, immutable
    ETag