Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

生产环境传webp会302 #65

Open
BingruLin opened this issue Nov 18, 2024 · 1 comment
Open

生产环境传webp会302 #65

BingruLin opened this issue Nov 18, 2024 · 1 comment

Comments

@BingruLin
Copy link

按照readme里面的写法,本地开发时都是好的,能传白名单里的各种图片或文件。

但是一旦部署之后,传webp以外的图片都会走到业务层,但传webp时会直接返回302到淘宝错误页。。。

image

我把egg-multipart复制了一个包,加了更详尽的日志,发现webp的情况下middware层就没触发。。。

image

实在不知道怎么调试了,有没有大佬给点灵感

@fengmk2
Copy link
Member

fengmk2 commented Nov 19, 2024

你的接入层是 aserver 吗?是被接入层拦截了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants