Can't find asset when name starts with dot
See original GitHub issueI 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 (.
).
Issue Analytics
- State:
- Created 3 years ago
- Comments:21 (21 by maintainers)
Top Results From Across the Web
Accessing properties with a dot in their name - Stack Overflow
C# doesn't have any way of quoting identifiers. If it's not a valid identifier, your only option is reflection. However, it's possible the...
Read more >find asset by name - Unity Forum
I know my asset isn't a game object, but this shows how i want the code to work. I'm sure the answer is...
Read more >finding folders containing but not starting with a . (dot)
The biggest issue is that you're matching path not name - every path will match . when the starting point of your search...
Read more >Using Windows Explorer, how to find file names starting with a ...
The first dot is to search the current directory; the second is 'back-slashed escaped' to search for names starting with a dot literal....
Read more >Assets - Polkadot Wiki
Learn about fungible and non-fungible assets in the Polkadot network.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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