Skip to content

Commit a59cd84

Browse files
authored
Merge pull request #7 from fabrix-app/v1.1
[feat] New Router Spec
2 parents ad818bf + 29f2499 commit a59cd84

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
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 : ${(app.routes || [ ]).length}`
37+
Routes : ${Object.keys(app.routes || {}).length}`
3838
)
3939
}
4040
},

lib/archetype/src/config/routes.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,4 @@
66
* @see {@link http://fabrix.app/doc/config/routes}
77
*/
88

9-
export const routes = [
10-
11-
]
9+
export const routes = { }

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.0.8",
3+
"version": "1.1.0",
44
"description": "Strongly Typed Modern Web Application Framework for Node.js",
55
"keywords": [
66
"framework",

0 commit comments

Comments
 (0)