mirror of
https://github.com/signaller-matrix/signaller.git
synced 2024-11-21 18:02:24 +00:00
Fix login issue
This commit is contained in:
parent
063442f1b2
commit
b140a4f726
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user