Skip to content

Commit

Permalink
Update packages/server/src/cli.ts
Browse files Browse the repository at this point in the history
Co-Authored-By: nol166 <jmccamb@gmail.com>
  • Loading branch information
Kibo Hikari and nol166 authored Apr 11, 2019
1 parent e5b0bfd commit 1d7aefd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ const bold = (text: string | number): string | number => {
});

if (options.noAuth && options.host === "0.0.0.0"|| options.allowHttp && options.host === "0.0.0.0") {
logger.warn("0.0.0.0 is accessible to any device on your network");
logger.warn("0.0.0.0 is accessible to every device on the network you're connected to. Make sure you set up authentication to prevent unauthorized access.");
}
logger.info("Starting webserver...", field("host", options.host), field("port", options.port));
app.server.listen(options.port, options.host);
Expand Down

0 comments on commit 1d7aefd

Please sign in to comment.