Update docker-compose_dev, README and add auth basic

This commit is contained in:
2020-10-11 21:56:57 +02:00
parent 3e02fad96f
commit a82f090370
6 changed files with 26 additions and 6 deletions

View File

@@ -14,8 +14,6 @@ import (
)
func main() {
fmt.Println("Hallo")
//gin.SetMode(gin.ReleaseMode)
r := gin.Default()
var err error
@@ -33,7 +31,7 @@ func main() {
r.Static("/static", "html/static")
//r.StaticFile("/favicon.ico", "html/favicon.ico")
//routes.RoutesInit(r, pool)
routes.RoutesInit(r, pool)
routes.RoutesInit(r, pool, &cfg)
err = r.Run("0.0.0.0:8082")