Skip to content

Commit a903503

Browse files
Craig Mulliganarunoda
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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy