Skip to content

Commit 41256f5

Browse files
authored
Merge pull request #9 from fabrix-app/v1.1
[chore] adjust for routes as map
2 parents 983d8b5 + 3aa0e40 commit 41256f5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/Templates.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export const Templates = {
3434
Web Server Info
3535
Server : ${app.config.get('web.server') || 'NOT INSTALLED'}
3636
Port : ${app.config.get('web.port') || 'N/A'}
37-
Routes : ${Object.keys(app.routes || {}).length}`
37+
Routes : ${(app.routes || new Map()).size}`
3838
)
3939
}
4040
},

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@fabrix/fabrix",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"description": "Strongly Typed Modern Web Application Framework for Node.js",
55
"keywords": [
66
"framework",

0 commit comments

Comments
 (0)