Skip to content

Commit

Permalink
Change warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiu Fong Lam committed Feb 10, 2024
1 parent 813a0e2 commit 43cd61f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/cmd/serve.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function serve(userSpecifiedRoot, options) {
.then(async (config) => {
if (serverConfig.host === '0.0.0.0') {
const response = await questionAsync(
'WARNING: Using the address \'0.0.0.0\' may pose vulnerabilities and is generally discouraged.'
'WARNING: Using the address \'0.0.0.0\' could potentially expose your server to the internet, which may pose security risks. \n'

Check failure on line 88 in packages/cli/src/cmd/serve.js

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest)

This line has a length of 138. Maximum allowed is 110
+ 'Proceed with caution? [y/N] ');
if (response.toLowerCase() === 'y') {
logger.info('Proceeding to generate website');
Expand Down

0 comments on commit 43cd61f

Please sign in to comment.