Skip to content

Commit

Permalink
specify 127.0.0.1 for hotServer (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
theeyed authored May 15, 2022
1 parent 7bcf01d commit 82a45fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runtime/command/run/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,5 +115,6 @@ func (c *Command) startApp(ctx context.Context, hotServer *hot.Server) error {
}

func (c *Command) startHot(ctx context.Context, hotServer *hot.Server) error {
return hotServer.ListenAndServe(ctx, ":35729")
// TODO: host should be dynamic
return hotServer.ListenAndServe(ctx, "127.0.0.1:35729")
}

0 comments on commit 82a45fe

Please sign in to comment.