FCD server passes all of non-existent and unknown endpoints to LCD. Such endpoints starting with /static, /apidoc and /v1 should return Not Found (404) immediately.
Changes
removed koa-add-trailing-slashes
separate app for API endpoints starting with /v1
added notFoundMiddleware for returning 404 response
Further step
It would be ideal if we specify all LCD endpoints to be proxied.
Description
FCD server passes all of non-existent and unknown endpoints to LCD. Such endpoints starting with /static, /apidoc and /v1 should return Not Found (404) immediately.
Changes
Further step
It would be ideal if we specify all LCD endpoints to be proxied.