Skip to content

bug: DUMI_DEV_SERVER_COMPRESS 配置未生效, UMI_DEV_SERVER_COMPRESS 配置会生效 #2300

@poozhu

Description

@poozhu

Version

2.4.13

OS Version

win 10

Node.js Version

v20.19.1

Browser Version

141.0.7390.77

Link to minimal reproduction

https://d.umijs.org/config/env#dumi_dev_server_compress

Steps to reproduce

配置 DUMI_DEV_SERVER_COMPRESS , 启动项目即可

What is expected?

DUMI_DEV_SERVER_COMPRESS 生效, 关掉代理接口 response 的 gzip

What is actually happening?

配置 DUMI_DEV_SERVER_COMPRESS , gzip 未关掉, 但配置 UMI_DEV_SERVER_COMPRESS 时, 会生效

Any additional comments? (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions