update
1. add makefile 2. modify dockerfile 3. add config twitch.bot_user
This commit is contained in:
1 parent
116c43b0cb
commit
8a4b11f92a
6 files changed
+16
-7
No files matched your search
@@ -43,12 +43,8 @@ func NewServ() *gin.Engine {
|
||||
|
||||
// SetRoutes - set routes
|
||||
func SetRoutes(r *gin.Engine) {
|
||||
r.NoRoute(func(c *gin.Context) {
|
||||
fmt.Println("match not route")
|
||||
c.String(404, "404 page not found")
|
||||
})
|
||||
|
||||
r.GET("/", func(c *gin.Context) {
|
||||
fmt.Println("in next")
|
||||
c.JSON(200, gin.H{
|
||||
"message": "ok",
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user