Skip to content

Commit

Permalink
Allow dev server to accept connections from any host
Browse files Browse the repository at this point in the history
Allows mobile devices on the same network to view the dev server.
  • Loading branch information
7sempra committed Aug 20, 2020
1 parent 5860d4c commit 0f1ab18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client_toolchain/dev_server/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function main() {
configureDevServing(app);
configureProxy(app);

app.listen(8080, 'localhost', () => {
app.listen(8080, () => {
console.log('Listening on http://localhost:8080');
console.log();
});
Expand Down

0 comments on commit 0f1ab18

Please sign in to comment.