docs: fixes licensing code example

This commit is contained in:
James
2021-01-07 17:21:28 -05:00
parent 1b49c18767
commit c4eec6dc12

View File

@@ -13,7 +13,7 @@ Payload is free to use locally for development purposes for as long as you like.
1. Complete the [checkout](/checkout) process. You'll be provided with a license key after successfully checking out.
1. Add your license to a `.env` variable, and then add the `license` property to your `payload.init()` call.
`payload.config.js`:
`server.js`:
```js
const payload = require('payload');