This commit is contained in:
ryanmao 2020-10-09 14:20:00 +08:00
parent 218e859343
commit dd9640da12

View File

@ -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{