koa-methodoverride
Advanced tools
Comparing version 0.3.0 to 0.3.1
{ | ||
"name": "koa-methodoverride", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "HTTP method override for koa", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -27,3 +27,4 @@ # Method Override [![Build Status](https://travis-ci.org/fundon/koa-method-override.svg)](https://travis-ci.org/fundon/koa-method-override) | ||
app.use(methodOverride()); | ||
var key = '_method'; // default | ||
app.use(methodOverride(key)); | ||
@@ -30,0 +31,0 @@ app.listen(3000); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4965
42