We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b52b91a commit a903503Copy full SHA for a903503
readme.md
@@ -710,7 +710,7 @@ Here's an example `.babelrc` file:
710
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.
711
712
```js
713
-const isProd = process.NODE_ENV === 'production'
+const isProd = process.env.NODE_ENV === 'production'
714
module.exports = {
715
// You may only need to add assetPrefix in the production.
716
assetPrefix: isProd ? 'https://cdn.mydomain.com' : ''
0 commit comments