minor comment cleanup
tronnet/workflows: Static Analysis -- Golang / static-go (push) Successful in 20s
tronnet/workflows: Static Analysis -- Golang / static-go (push) Successful in 20s
This commit is contained in:
+3
-1
@@ -18,9 +18,11 @@ func Run() {
|
|||||||
|
|
||||||
common.Global = common.GetConfig(*configPath)
|
common.Global = common.GetConfig(*configPath)
|
||||||
|
|
||||||
// setup static resources
|
// setup gin
|
||||||
gin.SetMode(gin.ReleaseMode)
|
gin.SetMode(gin.ReleaseMode)
|
||||||
router := gin.Default()
|
router := gin.Default()
|
||||||
|
|
||||||
|
// setup static resources
|
||||||
m := common.InitMinify()
|
m := common.InitMinify()
|
||||||
ServeStatic(router, m)
|
ServeStatic(router, m)
|
||||||
html := common.MinifyStatic(m, web.Templates)
|
html := common.MinifyStatic(m, web.Templates)
|
||||||
|
|||||||
Reference in New Issue
Block a user