Skip to content

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

Description

@game5413

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions