Skip to content
This repository was archived by the owner on May 28, 2024. It is now read-only.

Commit 1d2815b

Browse files
committed
Drop instruction for hapi < 17
1 parent e331aec commit 1d2815b

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

README.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,11 @@ npm install @gar/hapi-json-api
2626
## Example of use
2727

2828
```javascript
29-
// where server is a hapi server
30-
31-
// For hapi 17:
29+
// where server is a hapi server, for hapi 17:
3230
await server.register({
3331
plugin: require('@gar/hapi-json-api'),
3432
options: {}
3533
});
36-
37-
// Prior to hapi 17:
38-
server.register({
39-
register: require('@gar/hapi-json-api'),
40-
options: {}
41-
});
4234
```
4335

4436
### Configuration

0 commit comments

Comments
 (0)