-
I'm not sure how `koa-csrf` intercepts HTTP requests - does it matter if I set my `koa-router` middleware before or after setting `koa-csrf`?
This is what I'm using now:
server.use(new CSRF(…
-
## DESC
新手!!!
根据 https://thinkjs.org/zh-cn/doc/3.0/mongo.html 的配置连接mongodb,但一直提示 config.handle must be a function,本想参照mysql的配置,但连接数据库的时候,日志显示是mysql://开头,这样无法连接到mongo
### ENV
OS Platform:
…
-
如题,我基本按照您的代码,然后可以登录成功,不过没有设置cookie 也没有登录状态 不知道为什么
-
To currently use cookies in lambda with a custom domain one must enter into the AWS Console and follow something along the lines of: https://aws.amazon.com/blogs/compute/simply-serverless-using-aws-la…
-
Hi,
I habe a Koa based Typescript application and when I try to run it, I get this error:
```
$ ts-node-dev src/server/server.ts
Error: Could not require /Users//node_modules/koa/lib/response.js, …
-
```
checking build system type... x86_64-apple-darwin17.2.0
checking host system type... x86_64-apple-darwin17.2.0
checking for a BSD-compatible install... /usr/local/opt/coreutils/libexec/gnubin/i…
ghost updated
6 years ago
-
Looking at these lines: https://github.com/koajs/csrf/blob/master/src/index.js#L59-L60 when I'm debugging, `ctx.request.body` is always undefined. I don't know why. Can anyone help?
Something els…
-
Have been coming on and off on Homebrewery, writing bits here and there for DnD campaign. However I have tried using it today, and yesterday, and some pages are missing, and things are in places they …
-
`cd server`
`rm -rf node_modules`
`npm i > npm-install.log`
```
> hiredis@0.5.0 install C:\Users\rkhunter\Documents\Development\starhackit\server\node_modules\hiredis
> node-gyp rebuild
C:…
-
**What is the current behavior?**
Raven.captureException does not process the request properly in koa app.
Minimum example at [this gist](https://gist.github.com/chrisjensen/75d93f09fb982dc7767e…