server: return http 404 error when a user-requested resource is not found instead of keeping a pending request
This commit is contained in:
parent
420bd55e7a
commit
2d859d719c
2 changed files with 5 additions and 0 deletions
|
|
@ -2,6 +2,9 @@
|
|||
|
||||
## next
|
||||
|
||||
- bug fixes
|
||||
- server: return http 404 error when a user-requested resource is not found instead of keeping a pending request
|
||||
|
||||
- project tree
|
||||
- add an input for filtering displayed widget by id
|
||||
|
||||
|
|
|
|||
|
|
@ -110,6 +110,8 @@ function httpRoute(req, res) {
|
|||
}
|
||||
|
||||
console.error(`(ERROR, HTTP) File not found: ${url}`)
|
||||
res.writeHead(404)
|
||||
res.end()
|
||||
|
||||
} else if (url.includes('/osc-ping')) {
|
||||
httpCheck(true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue