diff --git a/lib/app.js b/lib/app.js index dd00614b97e94..ebee26d13970b 100644 --- a/lib/app.js +++ b/lib/app.js @@ -87,7 +87,7 @@ export class Container extends Component { } const warnUrl = execOnce(() => { - if (process.env.NODE_ENV !== 'PRODUCTION') { + if (process.env.NODE_ENV !== 'production') { warn(`Warning: the 'url' property is deprecated. https://err.sh/next.js/url-deprecated`) } })