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
3 changes: 2 additions & 1 deletion plugins/caddy/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ func (s *SouinApp) Provision(_ caddy.Context) error {

// Start will start the App
func (s SouinApp) Start() error {
core.ResetRegisteredStorages()
_, _ = up.Delete(stored_providers_key)
_, _ = up.LoadOrStore(stored_providers_key, newStorageProvider())

Expand All @@ -56,6 +55,8 @@ func (s SouinApp) Start() error {

// Stop will stop the App
func (s SouinApp) Stop() error {
core.ResetRegisteredStorages()

return nil
}

Expand Down