ant-design-vue icon indicating copy to clipboard operation
ant-design-vue copied to clipboard

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

Open francisfeng opened this issue 2 years ago • 2 comments

  • [] 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.

francisfeng avatar Aug 05 '22 03:08 francisfeng

window 同样打不开 image

caomingdong avatar Aug 08 '22 01:08 caomingdong

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继续访问。

Han09 avatar Aug 08 '22 01:08 Han09