@koa/router
Advanced tools
Comparing version 9.4.0 to 10.0.0
@@ -535,3 +535,3 @@ /** | ||
// lookup destination route by name | ||
if (destination[0] !== '/') destination = this.url(destination); | ||
if (destination[0] !== '/' && !destination.includes('://')) destination = this.url(destination); | ||
@@ -538,0 +538,0 @@ return this.all(source, ctx => { |
{ | ||
"name": "@koa/router", | ||
"description": "Router middleware for koa. Provides RESTful resource routing.", | ||
"version": "9.4.0", | ||
"version": "10.0.0", | ||
"author": "Alex Mingoia <talk@alexmingoia.com>", | ||
@@ -6,0 +6,0 @@ "bugs": { |
35601