@satorijs/router
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -119,7 +119,7 @@ "use strict"; | ||
koa.use(require("koa-bodyparser")({ | ||
enableTypes: ["json", "form", "xml"] | ||
// jsonLimit: '10mb', | ||
// formLimit: '10mb', | ||
// textLimit: '10mb', | ||
// xmlLimit: '10mb', | ||
enableTypes: ["json", "form", "xml"], | ||
jsonLimit: "10mb", | ||
formLimit: "10mb", | ||
textLimit: "10mb", | ||
xmlLimit: "10mb" | ||
})); | ||
@@ -126,0 +126,0 @@ koa.use(this.routes()); |
{ | ||
"name": "@satorijs/router", | ||
"description": "Router plugin for cordis", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"main": "lib/index.js", | ||
@@ -6,0 +6,0 @@ "types": "lib/index.d.ts", |
@@ -71,6 +71,6 @@ import { Context, Logger, Schema } from '@satorijs/core' | ||
enableTypes: ['json', 'form', 'xml'], | ||
// jsonLimit: '10mb', | ||
// formLimit: '10mb', | ||
// textLimit: '10mb', | ||
// xmlLimit: '10mb', | ||
jsonLimit: '10mb', | ||
formLimit: '10mb', | ||
textLimit: '10mb', | ||
xmlLimit: '10mb', | ||
})) | ||
@@ -77,0 +77,0 @@ koa.use(this.routes()) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
27771