Skip to content

Commit

Permalink
feat: log when starting server
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Gleich <[email protected]>
  • Loading branch information
gleich committed Jul 27, 2024
1 parent 33661a4 commit 0cd981a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package main

import (
"context"
"log"
"net/http"
"time"

Expand Down Expand Up @@ -75,6 +76,8 @@ func main() {
lumber.Success("init steam cache")
go steamCache.PeriodicUpdate(steam.FetchRecentlyPlayedGames, 5*time.Minute)

log.Println()
lumber.Info("STARTING SERVER")
err = http.ListenAndServe(":8000", r)
if err != nil {
lumber.Fatal(err, "failed to start router")
Expand Down

0 comments on commit 0cd981a

Please sign in to comment.