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

@nanoexpress/middleware-static not give an response if file not found #36

Open
1 of 2 tasks
game5413 opened this issue Aug 21, 2021 · 1 comment
Open
1 of 2 tasks
Labels
bug Something isn't working

Comments

@game5413
Copy link
Contributor

Bug Report

Is you/your team sponsoring this project

  • Yes
  • No

If your team sponsoring this project, please attach here your team lead or who purchased license GitHub login

Minimal reproducible repo

https://github.com/nanoexpress/middlewares

Current Behavior

HTTP request got pending because server not return an response.

Expected behavior/code

HTTP requeset got an response HTTP status code 404 for file not found.

Environment

  • Node/npm version: 14.17.0 / 7.15.0
  • OS: Windows 10 Home
  • Addinational Info: @nanoexpress/middleware-schemator:>=3.0.5, @nanoexpress/middleware-static:1.0.3

Possible Solution

Issue #24 comment-893676670

Additional context/Screenshots

Conversation discussion at Issue #24 comment-892647304, Issue #24 comment-893634574, Issue #24 comment-893676670

Note

  • Project is provided as-is without any support nor warranty
  • If this issue not related to this project and exists on core of this project, please close issue or not open
@game5413 game5413 added the bug Something isn't working label Aug 21, 2021
@game5413
Copy link
Contributor Author

game5413 commented Aug 21, 2021

I've already solve the problem, will make an PR after #35 closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant