-
Node's net library has a breaking change in Node 6, which performs validation on the port in the listen method.
```
~/Repos/koala → npm test
> koala@1.0.0 test /Users/nick/Repos/koala
> NODE_ENV=tes…
-
Does Koa-session have official type definitions? I can't find it.
-
* **Macaca Version**:1.2.3
* **Macaca Doctor Logs**:
* **Operate System**:macaOS 10.12.4
* **Programming Language**:java
更行Macaca到最新版本后,运行Java测试脚本后报错如下:
{"desiredCapabilities":{"app…
-
I'm running a Koa app behind a load balancer that terminates SSL. I set `app.proxy` to true, and have these lines to enable secure session cookies:
```javascript
const session = require('koa-sessi…
-
When I use the 'koa-session' there is a warning:
> koa deprecated Support for generators will be removed in v3. See the documentation for examples of how to convert old middleware https://github.com/…
-
# 前言
很早之前就想写了,但是自己之前几次尝试都卡了某个步骤,我这次系统的记录一下看能否有不同,为了做方便做测试,我可能会选择比较简单的物料,希望能够达到快速coding,快速发布的merge,日常捂脸.jpg,祝自己顺利~~~~。
# 查看具体分类
vue物料社区中主要是分三大类,区块(blocks) ,布局(layouts)和模板(scaffolds)。
## 区块…
-
currently expire value is never change until it is expired.
e.g., if maxAge is 3 minutes
if user always interact with server, that user can play within only 3 minutes and need to re-login.
is it be…
-
Would it be worth changing the example in the [docs](https://github.com/rkusa/koa-passport/blob/3.0.0-rc.3/README.md) from koa-generic-session to koa-session2? I see no evidence that the author of koa…
-
假如设置到 ctx.locals 里面,通过 redirect 之后就没了。
假如放在 app.locals 里面,就变成全局的了,本来是一个用户的通知结果变成了全站的通知。
最后是放在 session、或者 cookie 里面,那么在哪个 hook 里面用完之后可以删除呢,而且没法调用其他控制器里面的方法。
然后对于模板渲染是不是可以添加一个类似于 laravel 的 old(…
-
I recently installed this package, and got some fun errors around async/await in the package:
```
koa-session/index.js:37
return async function session(ctx, next) {
^^^^^^^^
Synt…