14 lines
232 B
Go
14 lines
232 B
Go
|
package web
|
||
|
|
||
|
import (
|
||
|
"git.jmbit.de/jmb/patchman/server/web/static"
|
||
|
"github.com/gin-gonic/gin"
|
||
|
"net/http"
|
||
|
)
|
||
|
|
||
|
func GroupWeb(router *gin.Engine) *gin.Engine {
|
||
|
router.StaticFS("/static", http.FS(static.StaticFS))
|
||
|
|
||
|
return router
|
||
|
}
|