[docs] Avoid next config validation warning (#39554)

[docs] avoid next config validation warning
This commit is contained in:
Andrew Cherniavskii 2022-08-12 17:54:57 +02:00 committed by GitHub
parent 0c95a93858
commit d9a1c4315e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,
}
```