/virtual/* -> /virtual*

This commit is contained in:
regiostech 2016-05-02 18:56:38 -04:00
parent f58b2dc259
commit eefc37315d
2 changed files with 2 additions and 1 deletions

View file

@ -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('\\*'), '.*')

View file

@ -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