MSX update (#238)

* Update msx.go

* MSX: update

- /search/?qyery=... check for 400
- search keyboard bugs fixed

* MSX update
This commit is contained in:
damiva
2023-03-25 18:01:23 +03:00
committed by GitHub
parent b351cb6a2f
commit 8db6c1656f
3 changed files with 1 additions and 1 deletions

View File

@@ -64,7 +64,7 @@ func SetupRoute(r *gin.RouterGroup) {
}
c.Data(200, "text/html; charset=UTF-8", append(b, "</head>\n<body></body>\n</html>"...))
default:
c.AbortWithStatus(400)
c.AbortWithStatus(404)
}
})
r.GET("/msx/imdb", func(c *gin.Context) {