codedoc: Can't find asset when name starts with dot
I am unable to obtain via a link an asset file when the name of that file starts with a dot (.).
See this branch. While codedoc serve is running in the terminal, clicking on the link that points to src/assets/text/.editorconfig returns 404 in the browser and displays
# Not Found::
# /src/assets/text/.editorconfig
#
# tried the following paths:
# C:\Code\Blogs\tyson-williams-blog\src\assets\text\.editorconfig
# C:\Code\Blogs\tyson-williams-blog\dist\src\assets\text\.editorconfig.html
in the terminal. I think this is incorrect. I think that C:\Code\Blogs\tyson-williams-blog\src\assets\text\.editorconfig exists.

See the file Copy.editorconfig in that screenshot? I can access that file via a link that points to src/assets/text/Copy.editorconfig. Therefore, I think the issue is with an asset file with a name that starts with a dot (.).
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 21 (21 by maintainers)
It’s on my todo list now. It will hopefully be done by the end of the week!
added serving dotfiles to local as well, will be deployed via
@codedoc/core@0.2.15