0
Fork 0
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:
dragongoose 2023-06-07 12:34:20 -04:00
parent 3c3341fb65
commit 45a1612d02
No known key found for this signature in database
GPG key ID: 50DB99B921579009

View file

@ -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)