update
This commit is contained in:
@@ -42,7 +42,7 @@ func Router() *gin.Engine {
|
||||
|
||||
r.HTMLRender = loadTemplates("./theme/" + themeName + "/tmpl")
|
||||
r.Static("/statics", "./theme/"+themeName+"/statics")
|
||||
r.StaticFile("/favicon.ico", "/theme/"+themeName+"/favicon.ico")
|
||||
r.StaticFile("/favicon.ico", "./theme/"+themeName+"/favicon.ico")
|
||||
|
||||
r.GET("/", handler.Index)
|
||||
r.GET("/article/:id", handler.GetArticle)
|
||||
|
||||
Reference in New Issue
Block a user