Skip to content

Commit

Permalink
fix mux
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisfregly committed Apr 3, 2024
1 parent d225a51 commit a682a1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type Controller struct {
config *GameServerConfig

// mux handles http server handling.
mux *http.ServeMux
mux http.ServeMux

// allowOrigins determines which locations may access the service
allowOrigins []string
Expand Down
2 changes: 1 addition & 1 deletion internal/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type GameServer struct {
lastUpdated time.Time

// mux routes the various endpoints to the appropriate handler.
mux *http.ServeMux
mux http.ServeMux

// game is the instance of the game being played.
game qg.Game
Expand Down

0 comments on commit a682a1b

Please sign in to comment.