-
Hey,
I just started validating micro in a new project, and I found this to be kind of an issue right off the bat.
The issue is kind of related to this one: https://github.com/zeit/micro/issues/296…
-
Under Response (koa response object), there's `response.set(fields)`. The text reads "Set several response header fields with an object:," with an example. However, it's not clear if setting these fie…
-
I use for sendfile this simple library: https://github.com/koajs/sendfile
this library use stream for send file, but after ctx.body = fs.createReadStream(path) application throw error ECONNRESET
fs…
-
https://github.com/wedog/koa-nginx/blob/134937e6f707d45e35ade2666d0ed93f48e68d02/index.js#L20
-
-
In the version of koa I'm using (2.5.2), ctx.get is an alias for ctx.request.get (see https://github.com/koajs/koa/blob/master/docs/api/request.md). Overwriting this causes issues with other dependenc…
-
我在middleware中,使用this.ctx.URL.href.indexOf 时报错 Cannot read property 'indexOf' of undefined;
- 此问题本地无法复现,线上单台服务器(6核)每1分钟会进行5次同样报错(很规律)。
- 业务代码并无定时任务。
- node性能配平台显示,单台服务器qps稳定在0.2;
目前怀疑,是持续异常请求导…
-
编译的docker无法运行.
连接mongod无法成功.
-
My trouble is pretty similiar to #886 and #881, but I'm using async function creator.
```js
function wrapCall(requestCreator) {
return async function handler(ctx) {
try {
…
-
[PassportJS](http://www.passportjs.org/) is specifically made for NodeJS Express-based apps like ours (KoaJS is Express-like).
We can use it to setup Google auth, GitHub auth, and a variety of othe…