Skip to main content

update_webp_settings

Function update_webp_settings 

Source
pub async fn update_webp_settings(
    quality: f32,
    method: u32,
) -> Result<WebpSettings, ServerFnError>
Expand description

更新 WebP 配置。

字段会被 clamp 后写入 DB。由于配置烘焙进 LazyLock 静态量,修改后需重启进程 生效——不做运行时缓存失效。

§Handler information

  • Method: post
  • Path: <auto>