-
Without the `_name` field being set on the exported middleware Koa seems to use the exported generator/function's name. Since `koa-router` doesn't set this; Koa defaults back to `dispatch` for the mid…
-
### Description
#### Steps to Reproduce
1. Create a new lwr app with single page app option.
2. Add SLDS styling to lwr site.
3. Add lightning base components.
4. Override the layout by providi…
-
## Problem/Feature Request Summary
Not able to parse request body when the header is application/json
## Environment Information
* koa-body: 4.1.0
* Koa: 2.7.0
* Node.js: 12.4.0
* k…
-
Hi,
Thank you for your contributions! I'd like to hazard suggesting a breaking change: replace **await-busboy** with **async-busboy**.
What I like about **async-busboy** is that the interface is cl…
-
Hello!
I've found some issues with the generated paths of this module.
The example below is oversimplified, my routers are spread to many different files, so it is impossible to just stick to si…
-
Considering the following program:
``` javascript
'use strict'
var koa = require('koa')
var Router = require('koa-router')
var app = koa()
var router = new Router()
function* checkIdParam(next) {
…
-
### What problem does this feature solve?
Have Koa function alongside Nuxt, when Nuxt has a different context-root than `/` (e.g. have `/foo/`, instead of `/`, as in `http://example.org/foo/`).
Nuxt…
-
## Bug report
### Required System information
- Node.js version: v18.12.0
- NPM version: npm/8.19.2
- Strapi version: 4.24.2
- Database: mysql
- Operating system: macOS :- darw…
-
After switching to koa-socket-2, I don't think I have any way to set up CORS as I cannot `io.set('origins', options.frontEnd);` with `const io = new IO();`
app.io, app._io are also not accessible …
-
## behavior 1
When I make a request of ``GET /top/1/sub`` to a server written in the following codes, I get a confusing response.
```js
const Koa = require('koa');
const Router = require('koa-ro…
Mensu updated
6 years ago