/virtual/* -> /virtual*
This commit is contained in:
parent
f58b2dc259
commit
eefc37315d
2 changed files with 2 additions and 1 deletions
|
@ -16,6 +16,7 @@ class Route {
|
|||
else {
|
||||
this.matcher = new RegExp('^' +
|
||||
path.toString()
|
||||
.replaceAll(new RegExp(r'\/\*$'), "*")
|
||||
.replaceAll(new RegExp('\/'), r'\/')
|
||||
.replaceAll(new RegExp(':[a-zA-Z_]+'), '([^\/]+)')
|
||||
.replaceAll(new RegExp('\\*'), '.*')
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
name: angel_framework
|
||||
version: 0.0.0-dev.13
|
||||
version: 0.0.0-dev.14
|
||||
description: Core libraries for the Angel framework.
|
||||
author: Tobe O <thosakwe@gmail.com>
|
||||
homepage: https://github.com/angel-dart/angel_framework
|
||||
|
|
Loading…
Reference in a new issue