-
rt
zysam updated
8 years ago
-
I would love to get this working for my case, but I find the following part of the readme extremely cryptic:
> You can store the session content in external stores (Redis, MongoDB or other DBs) by …
-
## Describe the bug
**Node.js version:** v18.9.1
**OS version:** Windows 11 Home Version 22H2
**Description:**
## Actual behavior
Destructure property undefined throw error
![image…
-
Please provide support for CORS errors !!
-
Using the example code in your readme, I can't find any trace of the `app.keys` `'some secret hurr'` actually being used to sign the cookie.
I assumed it would be used to generate the `koa:sess.sig…
-
**参考资料**:[koa2入门笔记](https://www.jianshu.com/p/d3afa36aa17a)
1. 每收到一个 http 请求,Koa 都会调用通过 app.use() 注册的 async 函数,同时为该函数传入 ctx 和 next 两个参数, 这里的 async 函数就是我们所说的中间件
2. ctx 作为上下文使用,包含了基本的 `ctx.request…
-
Whenever I try to open a project on the Mac version of the app it shows:
```
events.js:85
throw er; // Unhandled 'error' event
^
Error: Command failed: /bin/sh -c npm ls
npm ERR! ex…
-
更新到3.1.6后,在中间件中调用ctx.request.body为undefined
项目源码地址:https://github.com/dwyanewang/midwayjs-test
#### 复现流程
1. 下载官方示例
```bash
npx degit https://github.com/midwayjs/hooks/examples/api-bundle ./hook…
-
云开发平台 => aws 免费一年服务器
云函数 => Koa 接口服务
云数据库 => Mongodb
--------------------------------------------
koa 接口服务
- 走通小程序的登录鉴权逻辑
- 小程序登录机制:https://developers.weixin.qq.com/miniprogram/dev/fr…
-
I impleted get set destroy method, but not work~