[BUG] All undefined routes throw ReferenceError: createError is not defined
instead of proper 404 error
#126
Labels
bug
Something isn't working
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
http://localhost:3090/
in the browsercreateError is not defined
error like this:Expected behavior

It should throw a 404 error (not found) like this:
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
The problem can be simply solved by uncommenting line 11 in
/src/app.js
. AscreateError
variable has been mistakenly commented and later used without further declaration, it throws the above mentioned error.The text was updated successfully, but these errors were encountered: