mirror of
https://gitee.com/gokins/gokins.git
synced 2024-12-02 03:07:46 +08:00
sh+
This commit is contained in:
parent
218e859343
commit
dd9640da12
1
main.go
1
main.go
@ -36,6 +36,7 @@ func init() {
|
||||
comm.Gin.StaticFS("/js", http.Dir(comm.Dir+"/ui/js"))
|
||||
comm.Gin.StaticFS("/img", http.Dir(comm.Dir+"/ui/img"))
|
||||
comm.Gin.StaticFS("/fonts", http.Dir(comm.Dir+"/ui/fonts"))
|
||||
comm.Gin.StaticFile("/", comm.Dir+"/ui/index.html")
|
||||
comm.Gin.StaticFile("/index.html", comm.Dir+"/ui/index.html")
|
||||
comm.Gin.StaticFile("/favicon.ico", comm.Dir+"/ui/favicon.ico")
|
||||
/*comm.Gin.FuncMap = template.FuncMap{
|
||||
|
Loading…
Reference in New Issue
Block a user