pub(crate) async fn share_context_middleware(
req: Request,
next: Next,
) -> ResponseExpand description
Axum 中间件:把分享元信息所需的站点信息(地址、简介、站点图地址)放进 GET 请求
扩展,页面服务端渲染时由 components::share_meta 同步读取(类型见 crate::models::share::ShareContext)。位于 HTML 缓存内层,
缓存命中时不执行。