Skip to content

Commit a903503

Browse files
Craig Mulliganarunoda
Craig Mulligan
authored andcommitted
Update readme.md (vercel#1818)
1 parent b52b91a commit a903503

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@ Here's an example `.babelrc` file:
710710
To set up a CDN, you can set up the `assetPrefix` setting and configure your CDN's origin to resolve to the domain that Next.js is hosted on.
711711

712712
```js
713-
const isProd = process.NODE_ENV === 'production'
713+
const isProd = process.env.NODE_ENV === 'production'
714714
module.exports = {
715715
// You may only need to add assetPrefix in the production.
716716
assetPrefix: isProd ? 'https://cdn.mydomain.com' : ''

0 commit comments

Comments
 (0)