Skip to content

Commit

Permalink
chore: add logging for static dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Brereton authored and Tom Brereton committed Jan 10, 2024
1 parent 8bb77a3 commit 7b3dad8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/web/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ func main() {
log.Fatal(err.Error())
}
log.Default().Printf("Is Development mode enabled: %t", cfg.IsDevelopment)
log.Default().Printf("Serving static files from: %s", cfg.StaticDir)

server := server.NewWebServer(&cfg)
address := "localhost:" + cfg.Port
Expand Down

0 comments on commit 7b3dad8

Please sign in to comment.