Skip to content

Commit 332db83

Browse files
committed
removing unused settings
1 parent bb91cc9 commit 332db83

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

demos/circuitbreaker.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,7 @@ gateway({
2929
routes: [{
3030
proxyHandler: (...params) => breaker.fire(params),
3131
prefix: '/public',
32-
target: 'http://localhost:3000',
33-
docs: {
34-
name: 'Public Service',
35-
endpoint: 'swagger.json',
36-
type: 'swagger'
37-
}
32+
target: 'http://localhost:3000'
3833
}]
3934
}).start(8080).then(() => console.log('API Gateway listening on 8080 port!'))
4035

0 commit comments

Comments
 (0)