We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ubuntu 16.04 Node.js 10.15.1 koa 2.7.0 koa-joi-router 5.2.0
'use strict' const Koa = require('koa') const app = new Koa() const router = require('koa-joi-router') const orders = router() orders.get('/', ctx => { ctx.body = 'Orders response' }) orders.prefix('orders') app.use(orders.middleware()) app.listen(3000)
localhost:3000/orders returns 404 Not Found
localhost:3000/orders
localhost:3000/orders returns 200 'Orders response`
Connected issue created in koa-router
The text was updated successfully, but these errors were encountered:
No branches or pull requests
ubuntu 16.04
Node.js 10.15.1
koa 2.7.0
koa-joi-router 5.2.0
Actual behavior:
localhost:3000/orders
returns 404 Not FoundExpected behavior:
localhost:3000/orders
returns 200 'Orders response`Connected issue created in koa-router
The text was updated successfully, but these errors were encountered: