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

Wrong HTTP status code (404) returned from the docs website #5872

Open
francisfeng opened this issue Aug 5, 2022 · 2 comments
Open

Wrong HTTP status code (404) returned from the docs website #5872

francisfeng opened this issue Aug 5, 2022 · 2 comments

Comments

@francisfeng
Copy link

francisfeng commented Aug 5, 2022

  • [] I have searched the issues of this repository and believe that this is not a duplicate.

Version

undefined

Environment

macOS

Reproduction link

https://antdv.com/components/overview

Steps to reproduce

  1. Open browser inspector.
  2. Open https://antdv.com/components/overview
  3. See the request in network tab.
  4. The status code for https://antdv.com/components/overview is 404.

While it’s not affecting how the browsers interpret the website, it may not working under some environments such as link previews in iOS because LPMetadataProvider requires valid status code to proceed.

What is expected?

Return 200 status code.

What is actually happening?

Returned 404 status code.

@caomingdong
Copy link

caomingdong commented Aug 8, 2022

window 同样打不开
image

@Han09
Copy link

Han09 commented Aug 8, 2022

This is a temporary solution
The wrong resource link 404 in the access console:
Example: 404 Resources in Error Reporting
Trust insecure https;
Return to antdv to continue the visit.

这是一个临时解决方案
访问 console 控制台中 404 错误的链接:
示例: 报错中的404资源
信任不安全的https;
返回antdv继续访问。

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

No branches or pull requests

4 participants