mirror of
https://github.com/0ceanSlim/grain.git
synced 2024-11-22 00:27:14 +00:00
remove unneeded code
This commit is contained in:
parent
2fe8d6af8c
commit
346637d3ba
3
main.go
3
main.go
@ -30,9 +30,6 @@ func main() {
|
||||
// Initialize collections
|
||||
events.InitCollections(client, config.Collections.EventKind0, config.Collections.EventKind1)
|
||||
|
||||
// Set the MongoDB collections in the requests package
|
||||
requests.SetCollections(events.GetCollections())
|
||||
|
||||
// Start WebSocket server
|
||||
http.Handle("/", websocket.Handler(requests.Handler))
|
||||
fmt.Println("WebSocket server started on", config.Server.Address)
|
||||
|
Loading…
Reference in New Issue
Block a user