-
I want to wrap my static files inside my feature directories and serve them from the feature router. Is there a way?
I found this https://github.com/MatheusMK3/koa-router-static repository, but it'…
-
I'm using `koa-send` in my Koa server and I have the problem that I get `Malicious Path` from `resolve-path` when the request path is something along the lines of `http://localhost:3000//some/path/ima…
-
I tried
```javascript
app.use(cors({
origin: function (ctx) {
if (['https://www.example1.com', 'https://www.example2.com'].includes(ctx.get('Origin'))) {
return ctx.get('Origin');
…
-
https://github.com/moajs/moa-api/issues/15
-
- [Simple (single instance)](https://gist.github.com/jrf0110/5493304)
- [Readings](http://stackoverflow.com/questions/11821958/nodejs-any-module-to-limit-express-request-rate)
-
I'm currently trying to implement Facebooks OAUTH by using `Koa-Passport` and `Koajs 2`
Everythings working fine and I can login and what not, but regardless of what I send in the scope I only ever …
-
We need to investigate possible solutions for an API gateway solution where all of the routing and security will live.
It is possible to include this in our aggregation layer but this will need to…
-
With small video (mp4) files, chrome has no issues. However if I use a 34 mbish sort of a video file. It will sometimes play the first 2 secs, like (5%) of the file or just stay stuck in limbo and not…
-
If you use"app.use(range);"multiple times, the range request fails.
```js
import Koa from "koa";
const app = new Koa();
import range from "koa-range";
import serveIndex from "koa2-serve-index";…
-
For example, Exercise 1 still tells you to use `app = koa()` instead of the class-based notation (`app = new Koa()`).
And once you change this, koa tells you that generators are now deprecated and wi…