Comparing version 1.4.0 to 2.0.0
@@ -48,3 +48,3 @@ var url = require('url') | ||
assert(opts.resolve, 'cccpurge: opts.resolve should be a function') | ||
opts.resolve(route, done) | ||
opts.resolve(route.replace(/:$/, '*'), done) | ||
} | ||
@@ -51,0 +51,0 @@ |
{ | ||
"name": "cccpurge", | ||
"version": "1.4.0", | ||
"version": "2.0.0", | ||
"description": "Choo Cloudflare Cache Purge – purge all routes served by choo app", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
7775