[docs] Avoid next config validation warning (#39554)
[docs] avoid next config validation warning
This commit is contained in:
parent
0c95a93858
commit
d9a1c4315e
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ const isProd = process.env.NODE_ENV === 'production'
|
|||
|
||||
module.exports = {
|
||||
// Use the CDN in production and localhost for development.
|
||||
assetPrefix: isProd ? 'https://cdn.mydomain.com' : '',
|
||||
assetPrefix: isProd ? 'https://cdn.mydomain.com' : undefined,
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue