Skip to content

Commit

Permalink
fix: change gin port number to match tests
Browse files Browse the repository at this point in the history
  • Loading branch information
abdahmed22 committed Jul 8, 2024
1 parent 63f9ff9 commit 23d7c74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/ginserver/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ func main() {
r := gin.Default()
r.GET("/datetime", ginserver.GetDateTimeHandler)

err := r.Run()
err := r.Run(":8080")

if err != nil {
log.Fatalf("HTTP server error: %v", err)
Expand Down

0 comments on commit 23d7c74

Please sign in to comment.