We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8aaedce commit 69da5c0Copy full SHA for 69da5c0
demos/basic.js
@@ -23,6 +23,11 @@ gateway({
23
secret: 'shhhhhhared-secret'
24
})
25
]
26
+ }, {
27
+ // this route definition makes /public a default service if prefix is omitted
28
+ prefix: '/*',
29
+ pathRegex: '',
30
+ target: 'http://localhost:3000'
31
}]
32
}).start(PORT).then(server => {
33
console.log(`API Gateway listening on ${PORT} port!`)
0 commit comments