Update docker-compose_dev, README and add auth basic
This commit is contained in:
4
main.go
4
main.go
@@ -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")
|
||||
|
||||
|
Reference in New Issue
Block a user