mirror of
https://codeberg.org/SafeTwitch/safetwitch-backend.git
synced 2024-12-22 05:02:58 -05:00
Sigh... I acidentally removed the websocket server
This commit is contained in:
parent
3c3341fb65
commit
45a1612d02
1 changed files with 3 additions and 0 deletions
3
main.go
3
main.go
|
@ -3,6 +3,7 @@ package main
|
|||
import (
|
||||
"log"
|
||||
"os"
|
||||
"safetwitch-backend/extractor/chat"
|
||||
"safetwitch-backend/routes"
|
||||
|
||||
"strings"
|
||||
|
@ -49,6 +50,8 @@ func main() {
|
|||
router.Use(CORS())
|
||||
router.Use(gin.Recovery())
|
||||
|
||||
go chat.BeginTwitchChatConnection()
|
||||
|
||||
router.Use(ErrorHandler)
|
||||
routes.SetRoutes(router)
|
||||
router.NoRoute(notFoundHandler)
|
||||
|
|
Loading…
Reference in a new issue