Skip to content

Commit 8e91dc6

Browse files
committed
adding https example
1 parent fee093e commit 8e91dc6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

demos/https-example.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
const gateway = require('./../index')
2+
3+
gateway({
4+
routes: [{
5+
prefix: '/httpbin',
6+
target: 'https://httpbin.org'
7+
}]
8+
}).start(8080)

0 commit comments

Comments
 (0)