Skip to content

Commit

Permalink
chore: update ports in main.go files
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorien Grönwald committed Nov 1, 2023
1 parent 3124689 commit af8e35a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/product-service/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func main() {

handler := router.New(productsController, pricesController)

if err := http.ListenAndServe(":3001", handler); err != nil {
if err := http.ListenAndServe(":3003", handler); err != nil {
log.Fatalf("error while listen and serve: %s", err.Error())
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/shoppinglist-service/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func main() {

handler := router.New(shoppingListController, shoppingListEntryController)

if err := http.ListenAndServe(":3001", handler); err != nil {
if err := http.ListenAndServe(":3002", handler); err != nil {
log.Fatalf("error while listen and serve: %s", err.Error())
}
}
2 changes: 1 addition & 1 deletion src/user-service/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
func main() {
handler := router.New()

if err := http.ListenAndServe(":8080", handler); err != nil {
if err := http.ListenAndServe(":3001", handler); err != nil {
log.Fatalf("error while listen and serve: %s", err.Error())
}
}

0 comments on commit af8e35a

Please sign in to comment.