Never returns status 404 Not Found which causes error "Uncaught SyntaxError: Unexpected token <" #345
Closed
1 of 6 tasks
Labels
duplicate
This issue or pull request already exists
module/ui5-server
Related to the UI5 Server module
Expected Behavior
It should return status 404 Not Found for files not found.
Current Behavior
If a file is not found, it always returns status 200 OK and an HTML file as response.
Steps to reproduce the issue
Context
Affected components
Stack trace/log output: js erros in Chrome
Stack trace/log output: $ ui5 serve --verbose
Stack trace/log output: $ ui5 tree
The text was updated successfully, but these errors were encountered: