npm install koa-polyfills
app.use(require('koa-polyfills')())
The options
for the middleware, other than those passed directly to polyfills, are:
maxAge
- the max age for the polyfill's cache control, defaulting to2 weeks
npm install koa-polyfills
app.use(require('koa-polyfills')())
The options
for the middleware, other than those passed directly to polyfills, are:
maxAge
- the max age for the polyfill's cache control, defaulting to 2 weeks