Skip to content

Commit

Permalink
Typo in Readme.md
Browse files Browse the repository at this point in the history
Just a simple typo in the Implementation example
  • Loading branch information
vvatelot committed Mar 6, 2019
1 parent 1c56f0c commit c78e9bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ The reference hub implementation:
Example implementation of a client (the subscriber), in JavaScript:

```javascript
// The subscriber subscribes to updates for the https://example.com/foo topic
// and to any topic matching https://example.com/books/{name}
// The subscriber subscribes to updates for the https://example.com/users/dunglas topic
// and to any topic matching https://example.com/books/{id}
const url = new URL('https://example.com/hub');
url.searchParams.append('topic', 'https://example.com/books/{id}');
url.searchParams.append('topic', 'https://example.com/users/dunglas');
Expand Down

0 comments on commit c78e9bf

Please sign in to comment.