Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serve/SPA: readFile returns EISDIR instead of ENOENT when a directory is called #5620

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

biboc
Copy link

@biboc biboc commented Jun 8, 2023

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR https://github.com/pm2-hive/pm2-hive.github.io/pulls

When http://locahost:3000/category/tutorial---basics (Docusaurus example) is called, readFile returns EISDIR instead of ENOENT so the error "Sorry, check with the site admin for error: EISDIR" is showed

@biboc
Copy link
Author

biboc commented Jun 8, 2023

Travis.org to .com was changed automatically

@thadk
Copy link

thadk commented Apr 2, 2024

Any update on this PR? I am seeing the same issue on SPA when wanting to use a folder as main site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants