Skip to content

Commit

Permalink
Update env.js
Browse files Browse the repository at this point in the history
Default host is 0.0.0.0 by doc
  • Loading branch information
romanlex authored Feb 22, 2022
1 parent f685a09 commit e14fde3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/razzle/config/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function getClientEnvironment(target, is_dev, options, paths) {
NODE_ENV: process.env.NODE_ENV || 'development',
PORT: process.env.PORT || options.port || 3000,
VERBOSE: !!process.env.VERBOSE,
HOST: process.env.HOST || options.host || 'localhost',
HOST: process.env.HOST || options.host || '0.0.0.0',
RAZZLE_ASSETS_MANIFEST: paths.appAssetsManifest,
BUILD_TARGET: target === 'web' ? 'client' : 'server',
// only for production builds. Useful if you need to serve from a CDN
Expand Down

0 comments on commit e14fde3

Please sign in to comment.