frontend refactor

This commit is contained in:
wxiaoguang committed 2021-10-14 01:53:11 +08:00
1 parent 429258cff3
commit 50f6aebb03
18 files changed
+714 -629

No files matched your search

+1
View File
@@ -645,6 +645,7 @@ func Contexter() func(next http.Handler) http.Handler {
"CurrentURL": setting.AppSubURL + req.URL.RequestURI(),
"PageStartTime": startTime,
"Link": link,
"IsProd": setting.IsProd(),
},
}
// PageData is passed by reference, and it will be rendered to `window.config.PageData` in `head.tmpl` for JavaScript modules