mirror of
https://github.com/signaller-matrix/signaller.git
synced 2024-11-22 02:12:20 +00:00
Fix login issue
This commit is contained in:
parent
063442f1b2
commit
b140a4f726
@ -6,7 +6,7 @@ import (
|
|||||||
"github.com/gorilla/mux"
|
"github.com/gorilla/mux"
|
||||||
)
|
)
|
||||||
|
|
||||||
var currServer Server
|
var currServer *Server
|
||||||
|
|
||||||
type Server struct {
|
type Server struct {
|
||||||
httpServer *http.Server
|
httpServer *http.Server
|
||||||
@ -33,7 +33,7 @@ func New() *Server {
|
|||||||
httpServer: httpServer,
|
httpServer: httpServer,
|
||||||
router: router}
|
router: router}
|
||||||
|
|
||||||
currServer = *server
|
currServer = server
|
||||||
return server
|
return server
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user