-
I'm using koa-session for a login service and found a problem when login from http://localhost.
Front-end app using http-proxy with the config like this
```
{
"/api", {
target: "https…
-
Pardon my ignorance, but why aren't middlewares fired before the `connection` event? If this isn't clear, I have an example handy.
Should my client simply trigger a separate event once it has receive…
-
# Node.js主流框架比较
> 本文主要参考[小专栏 - Node主流框架 Express Koa2 Egg 对比](https://xiaozhuanlan.com/topic/4826730951),文章价值¥9.9,很清晰,建议课一笔支持一下。
## 一、 Express vs Koa
因为Egg是基于Koa开发的(Egg 1.x 基于Koa 1.x,Egg 2.x 基…
-
# 解决YApi在Windows中安装出现的问题
解决YApi在Windows中安装出现的问题
### 推荐环境
nodejs v12
mongodb
yarn
### 命令行工具
cmd 没有 cp 命令,导致默认的命令无法使用
##### 创建 dev.bat 文件 (双击启动开发模式)
```bash
@echo o…
-
import * as Router from 'koa-router';
const router = new Router();
router.all('*', HomeCtrl.index); // 报错
-
Hello,
NodeSchool London has not run for a while. I like NodeSchool format because of the availability of materials. It makes it easy to be host it and to focus on mentoring and facilitating.
Se…
-
### Describe the bug
When error is reported, bugsnag Koa plugin reports also request cookies:
https://github.com/bugsnag/bugsnag-js/blob/18223eb59dba07a4961d1eb50d49cc7bc90fa3b5/packages/plugi…
-
## The devDependency [@types/supertest](https://github.com/DefinitelyTyped/DefinitelyTyped) was updated from `2.0.7` to `2.0.8`.
🚨 [View failing branch](https://github.com/HKUST-VISLab/koa-session-t…
-
## The dependency [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped) was updated from `10.11.0` to `10.11.1`.
🚨 [View failing branch](https://github.com/HKUST-VISLab/koa-session-ts/co…
-
I'm looking at using this with a GraphQL service that we're hoping can remain completely stateless. We included the [cookie-session package](https://www.npmjs.com/package/cookie-session) to put the au…