Temporary solution for make sure storage object gets put back in all cases of execution

This commit is contained in:
lash
2024-09-12 16:46:11 +01:00
parent 9c751aff30
commit 9b4a4eeaf4
7 changed files with 30 additions and 16 deletions

View File

@@ -191,7 +191,6 @@ func main() {
defer stateStore.Close()
rp := &httpserver.DefaultRequestParser{}
//sh := httpserver.NewSessionHandler(cfg, rs, stateStore, userdataStore, rp, hl.Init)
bsh := handlers.NewBaseSessionHandler(cfg, rs, stateStore, userdataStore, rp, hl)
sh := httpserver.ToSessionHandler(bsh)
s := &http.Server{