forked from grassrootseconomics/visedriver
Rehabilitate all tets
This commit is contained in:
@@ -21,7 +21,6 @@ import (
|
||||
httpserver "git.grassecon.net/urdt/ussd/internal/http"
|
||||
"git.grassecon.net/urdt/ussd/internal/storage"
|
||||
"git.grassecon.net/urdt/ussd/remote"
|
||||
"git.grassecon.net/urdt/ussd/request"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -124,7 +123,11 @@ func main() {
|
||||
|
||||
rp := &httpserver.DefaultRequestParser{}
|
||||
bsh := handlers.NewBaseSessionHandler(cfg, rs, stateStore, userdataStore, rp, hl)
|
||||
sh := request.ToSessionHandler(bsh)
|
||||
// TODO: less hacky way of making session handler
|
||||
//sh := request.ToSessionHandler(bsh)
|
||||
sh := &httpserver.SessionHandler{
|
||||
RequestHandler: bsh,
|
||||
}
|
||||
s := &http.Server{
|
||||
Addr: fmt.Sprintf("%s:%s", host, strconv.Itoa(int(port))),
|
||||
Handler: sh,
|
||||
|
||||
Reference in New Issue
Block a user