Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions plugins/caddy/dispatch.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ func (s *SouinCaddyMiddleware) parseStorages(ctx caddy.Context) {
s.logger.Errorf("Error during Badger init, did you include the Badger storage (--with github.com/darkweak/storages/badger/caddy)? %v", e)
} else {
badger := s.Configuration.DefaultCache.Badger
dir := ""
vdir := ""
dir := badger.Path
vdir := badger.Path
if c := badger.Configuration; c != nil {
p, ok := c.(map[string]interface{})
if ok {
Expand Down