update
This commit is contained in:
@@ -42,7 +42,7 @@ func Router() *gin.Engine {
|
|||||||
|
|
||||||
r.HTMLRender = loadTemplates("./theme/" + themeName + "/tmpl")
|
r.HTMLRender = loadTemplates("./theme/" + themeName + "/tmpl")
|
||||||
r.Static("/statics", "./theme/"+themeName+"/statics")
|
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("/", handler.Index)
|
||||||
r.GET("/article/:id", handler.GetArticle)
|
r.GET("/article/:id", handler.GetArticle)
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
Reference in New Issue
Block a user