Open
Description
Bug Report
Steps to reproduce
- docsify init ./docs
- make some file
- zip doc.zip
- markdown
# Headline
> An awesome project.
<a href='doc.zip' download>download</a>
- npx docsify serve docs
- click download
- get http://localhost:3000/doc.zip
Current behaviour
When I use an tag in Markdown to download a file, clicking the link works correctly.
However, when I try to download the file directly through the URL, it doesn't work correctly.
download the file directly through the URL, the Content-Length returned by HTTP is incorrect.
Expected behaviour
Other relevant information
- Docsify version:
-
Bug still occurs when all/other plugins are disabled?
-
Docsify plugins (if the bug happens when plugins enabled, please try to isolate the issue):
Metadata
Metadata
Assignees
Labels
No labels