Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Update the Greenlock v4 example to show the default 'packageAgent' field.
  • Loading branch information
Rautherdir committed Jun 1, 2020
1 parent 974603c commit 4e749c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,10 @@ See the [Greenlock.js documentation](https://www.npmjs.com/package/greenlock) fo

```js
const Greenlock = require('greenlock');
const pkg = require('./package.json');
const greenlock = Greenlock.create({
packageAgent: pkg.name + '/' + pkg.version,
configDir: "./store",
maintainerEmail: "example@example.com"
});
Expand Down

0 comments on commit 4e749c6

Please sign in to comment.