Axel Hernández Ferrera

Results 4 comments of Axel Hernández Ferrera

Running the debug mode (`DEBUG=search-local:* npm run build`) I get this output ``` search-local:verbose versionData: Map(1) { '/Users/axelhernandezferrera/dev/docusaurus-local-search-trailing-slash-bug/build' => Set(9) { '/intro', '/tutorial-basics/congratulations', '/tutorial-basics/create-a-blog-post', '/tutorial-basics/create-a-document', '/tutorial-basics/create-a-page', '/tutorial-basics/deploy-your-site', '/tutorial-basics/markdown-features', '/tutorial-extras/manage-docs-versions', '/tutorial-extras/translate-your-site'...

I think I have identified a problem here https://github.com/easyops-cn/docusaurus-search-local/blob/master/docusaurus-search-local/src/server/utils/processDocInfos.ts#L119 The docs set has the URLs without the trailingslash But the `url` variable has the trailing slash

You are right, the problem is not related to the animation. After taking a look at the code I think I understand the problem better: In a situation like this...

Perhaps we can use the filename as a fallback?