Skip to content

Commit

Permalink
listening only on port 9000
Browse files Browse the repository at this point in the history
  • Loading branch information
Eduard-Voiculescu committed Jun 4, 2024
1 parent 31cf20b commit fe8c0b6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions remotebuild/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,7 @@ func main() {
path, handler := pbbuildv1connect.NewBuildServiceHandler(srv)
mux.Handle(path, handler)

port := os.Getenv("PORT")
if port == "" {
port = "9000"
}

port := "9000"
srv.logger.Info("listening on port", "port", port)
err := http.ListenAndServe(
fmt.Sprintf(":%s", port),
Expand Down

0 comments on commit fe8c0b6

Please sign in to comment.