Skip to content

Commit 0abd6c6

Browse files
committed
update
1 parent 0c6de2c commit 0abd6c6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Diff for: main.go

+4-2
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,10 @@ func main() {
268268

269269
// Define HTTP routes
270270
http.HandleFunc("/register", app.RegisterUserHandler)
271-
271+
host := os.Getenv("AWS_HOST")
272272
// Start the HTTP server
273-
fmt.Println("Server running on $AWS_HOST")
273+
fmt.Println("Server running on:")
274+
fmt.Println(host)
275+
274276
log.Fatal(http.ListenAndServe(":3000", nil))
275277
}

0 commit comments

Comments
 (0)