Fix login issue

This commit is contained in:
nxshock 2019-07-19 21:03:29 +05:00
parent 063442f1b2
commit b140a4f726

View File

@ -6,7 +6,7 @@ import (
"github.com/gorilla/mux"
)
var currServer Server
var currServer *Server
type Server struct {
httpServer *http.Server
@ -33,7 +33,7 @@ func New() *Server {
httpServer: httpServer,
router: router}
currServer = *server
currServer = server
return server
}