Skip to content

Commit 42edf56

Browse files
committed
use registry configuration
1 parent aae931d commit 42edf56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ yarn add oc-registry-graphql-express-middleware
1313
```javascript
1414
const graphql = require('oc-registry-graphql-express-middleware');
1515

16-
registry.app.use('/graphql', graphql({ baseUrl: 'http://localhost:3000/', graphiql: true }));
16+
registry.app.use('/graphql', graphql({ baseUrl: configuration.baseUrl, graphiql: configuration.discovery }));
1717
```
1818

1919
![query-registry](query-registry-v1.0.0.png "query-registry")

0 commit comments

Comments
 (0)