add http auth

This commit is contained in:
YouROK
2021-03-03 12:29:41 +03:00
parent 4b912c90ae
commit f108b7c718
5 changed files with 16 additions and 4 deletions

View File

@@ -6,7 +6,7 @@ import (
"server/web/pages/template"
)
func SetupRoute(route *gin.Engine) {
func SetupRoute(route *gin.RouterGroup) {
route.GET("/", mainPage)
route.GET("/stat", statPage)
}