Skip to content

Commit eaa2229

Browse files
committed
adding websocket example
1 parent 780d914 commit eaa2229

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ module.exports = {
1818
routes: [{
1919
prefix: '/api',
2020
target: 'https://httpbin.org'
21+
}, {
22+
proxyType: 'websocket',
23+
prefix: '/echo',
24+
target: 'ws://ws.ifelse.io'
2125
}]
2226

2327
}

0 commit comments

Comments
 (0)