Skip to content

Commit

Permalink
bring our old cache system back, to be used along side new one
Browse files Browse the repository at this point in the history
  • Loading branch information
AmyrAhmady committed Oct 4, 2023
1 parent 79a650d commit 747d401
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/transports/api/servers/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ func Build() fx.Option {
s *service,
) {
rtr := chi.NewRouter()
r.Mount("/servers", rtr)
r.With(
cacheClient.Middleware,
).Mount("/servers", rtr)

// TODO: Remove this at some point.
r.Mount("/server", rtr)
Expand Down

0 comments on commit 747d401

Please sign in to comment.