fix address binding
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/dryrun Pipeline was successful
ci/woodpecker/push/publish-tag Pipeline was successful
ci/woodpecker/push/publish-latest Pipeline was successful

This commit is contained in:
Michael Thomson 2024-06-19 14:57:41 -04:00
parent 399cfd827d
commit 025596162c
No known key found for this signature in database

View File

@ -130,7 +130,7 @@ func main() {
router.HandleFunc("PATCH /todos/{id}/undone", todoHandler.Undone) router.HandleFunc("PATCH /todos/{id}/undone", todoHandler.Undone)
server := http.Server{ server := http.Server{
Addr: "localhost:3000", Addr: ":3000",
Handler: middleware.LoggingMiddleware(router), Handler: middleware.LoggingMiddleware(router),
} }