Skip to content

Commit 8478a3f

Browse files
committed
improve default route comments
1 parent e9f2960 commit 8478a3f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

demos/basic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ gateway({
2727
})
2828
]
2929
}, {
30-
// this route definition makes /public a default service if prefix is omitted
30+
// this route definition makes http://localhost:3000 (/public) a default service if other routes prefixes are omitted
3131
prefix: '/*',
3232
pathRegex: '',
3333
target: 'http://localhost:3000'

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"stream-to-array": "^2.3.0"
3434
},
3535
"devDependencies": {
36+
"aws-sdk": "^2.648.0",
3637
"chai": "^4.2.0",
3738
"cors": "^2.8.5",
3839
"express": "^4.17.1",

0 commit comments

Comments
 (0)