v2.0.1
This commit is contained in:
parent
f2a943f9df
commit
e727927232
@ -7,6 +7,7 @@ import (
|
||||
"pmail/config"
|
||||
"pmail/controllers"
|
||||
"pmail/controllers/email"
|
||||
"pmail/session"
|
||||
"time"
|
||||
)
|
||||
|
||||
@ -45,7 +46,7 @@ func HttpStart() {
|
||||
|
||||
httpServer = &http.Server{
|
||||
Addr: fmt.Sprintf(":%d", HttpPort),
|
||||
Handler: mux,
|
||||
Handler: session.Instance.LoadAndSave(mux),
|
||||
ReadTimeout: time.Second * 60,
|
||||
WriteTimeout: time.Second * 60,
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user