-
fresh clone/fork and:
```
~/dev/src/github.com/stephenmathieson/koa-csrf on master ∴ npm install
npm WARN deprecated istanbul-harmony@0.3.16: Please use istanbul@>=0.4.0 instead
npm WARN deprecated j…
-
I am trying to set up local authentication for my react app. Since I would like to handle the routing on the client side, I am not redirecting via passport.
My flow would look like this:
- POST requ…
-
### Directory Structure
```
app
├── io
│ ├── controller
│ │ └── chat.js
│ └── middleware
│ ├── auth.js
│ ├── filter.js
├── router.js
config
├── config.default.js
└─…
-
My code
```js
const http = require('http');
const https = require('https');
const fs = require('fs');
const path = require('path');
const url = require('url');
const util = require('util');
…
-
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Users\\XRKJ\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cl…
-
The documentation for `koa-generic-session` shows milliseconds (ms) are supposed to be used, instead of seconds. For example, this should have a TTL of 1 day, but SQLite3Store gives it a TTL of 1,000 …
-
我下代码下来试运行,vscode下编译报错, 是啥情况?
src/controller/index.ts(53,12): error TS2339: Property 'render' does not exist on type 'IRouterContext'.
src/controller/user/index.ts(7,10): error TS2339: Property 'sess…
-
I've just starting playing with _koa-passport_ in a ES6 (Babel) based React project I am working on, and I have run into an issue when using ES6 module import syntax as follows:
```es6
import * as…
-
node.js版本是v7.7.1
启动时日志如下:
c:\MY_JOB\GitHub\itranswarp.js\www>node --harmony app.js
loading config_development...
configuration loaded:
{
"domain": "www.maoqiongonline.cn",
"theme": "default…
-
Hey, I am quite new to cookies and sessions handling in Node, so this might not be even related to this package.
But I've noticed that when a request from frontend to my backend has a Request Header …