Skip to content

Commit

Permalink
Merge pull request #3 from zomars/patch-1
Browse files Browse the repository at this point in the history
Prevents error when following README
  • Loading branch information
trezy authored May 21, 2021
2 parents 01ed86a + 7c4938d commit c7543c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ yarn add next-safe
`next-safe` exports a single function that generates all of your headers. In your `next.config.js` file, you can pass these directly into the `headers` key for any route you want to set the headers on.

```js
const nextSafe = require('next-safe')
const nextSafe = require('next-safe').default

const isDev = process.env.NODE_ENV !== 'production'

Expand Down

0 comments on commit c7543c7

Please sign in to comment.