-
#### Descriptions
The middleware used in a nested-router can be triggered if the regexp matches (matchedRoute) with the unrelated path. The behavior is something intuitive or not easily predictable…
-
## 问题描述
原本正常的服务迁移到新服务器上后登录时提示:
> Authentication failed – we were unable to sign you in at this time. Please try again.
停用新服务,原有服务重新启用也开始报同样的错误。
两个服务都是同样的方式部署,通过 nginx 将同一个域名指向不同的服务IP。
doc…
-
When koa-better-router successfully matches a URL to a route and runs the handler, it doesn't stop and continues through Koa middleware stack. This is unlike what probably every other router (includin…
-
_**Update:** on Linux server it happens too._
I'm trying to figure out how to use koa-static (in SPA) properly.
First I just had put it in front of the other middleware, hoping that when it find…
-
#### This issue pertains to the following package(s):
- [ ] GraphQL Playground - Electron App
- [ ] GraphQL Playground HTML
- [ ] GraphQL Playground
- [x] GraphQL Playground Express Middleware
…
-
## Bug report
### Required System information
- Node.js version: 18.16.1
- NPM version: 9.8.0
- Strapi version: 4.13.7
- Database: mysql2
- Operating system: darwin-x64
- Is y…
-
In the installation section of the README:
```
The oauth2-server module is framework-agnostic but there are several officially supported wrappers available for popular HTTP server frameworks such as…
-
I'm trying to integrate socket.io into existing routes/middleware but when doing ctx.socket.emit from the standard Koa middleware, the client does not receive the message. I must also say that ctx.soc…
-
But I found a way to support:
``` javascript
const events = new Resource('events', _.mapValues(eventController, convert.back));
module.exports = convert.compose([router.middleware(), events.middlewar…
-
I'm running a universal example(koa2 + react) with consolidate as template resolver. Currently I'm facing a trouble when trying to webpack-build node.js server side code when I'm using `target: 'node'…