Skip to content

Commit

Permalink
[D] 删除空白行
Browse files Browse the repository at this point in the history
zxysilent committed Apr 8, 2021
1 parent be064e4 commit 9f0fab8
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion router/router_api.go
Original file line number Diff line number Diff line change
@@ -21,5 +21,4 @@ func apiRouter(api *echo.Group) {
api.GET("/page/all", appctl.PostPageAll) // 页面
api.GET("/tag/all", appctl.TagAll) // 标签列表
api.GET("/opts/base", appctl.OptsBase) // 配置

}
1 change: 0 additions & 1 deletion router/router_conf.go
Original file line number Diff line number Diff line change
@@ -99,7 +99,6 @@ func (t *TplRender) Render(w io.Writer, name string, data interface{}, ctx echo.
//每次强制加载函数
if conf.App.IsDev() {
t.templates, _ = utils.LoadTmpl("./views", funcMap)

}
return t.templates.ExecuteTemplate(w, name, data)
}

0 comments on commit 9f0fab8

Please sign in to comment.