Service path
This commit is contained in:
parent
0de6c5234f
commit
24fc679ed8
2 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ class Routable extends Extensible {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (routable is Service) {
|
if (routable is Service) {
|
||||||
services[path.toString()] = routable;
|
services[path.toString().trim().replaceAll(new RegExp(r'(^\/+)|(\/+$)'), '')] = routable;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: angel_framework
|
name: angel_framework
|
||||||
version: 0.0.0-dev.7
|
version: 0.0.0-dev.8
|
||||||
description: Core libraries for the Angel framework.
|
description: Core libraries for the Angel framework.
|
||||||
author: Tobe O <thosakwe@gmail.com>
|
author: Tobe O <thosakwe@gmail.com>
|
||||||
homepage: https://github.com/angel-dart/angel_framework
|
homepage: https://github.com/angel-dart/angel_framework
|
||||||
|
|
Loading…
Reference in a new issue