This commit is contained in:
2023-03-10 15:08:07 +08:00
parent 483997f950
commit eab307594f
+1
View File
@@ -42,6 +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.GET("/", handler.Index)
r.GET("/article/:id", handler.GetArticle)