add rutor api

This commit is contained in:
YouROK
2023-01-29 20:04:48 +03:00
parent fbd1765331
commit ff1c05a6bf
6 changed files with 22 additions and 1 deletions

View File

@@ -2,6 +2,7 @@ package web
import (
"net"
"server/rutor"
"sort"
"github.com/gin-contrib/cors"
@@ -37,6 +38,8 @@ func Start(port string) {
waitChan <- err
return
}
rutor.Start()
gin.SetMode(gin.ReleaseMode)
//corsCfg := cors.DefaultConfig()