admin: new route to display import report
This commit is contained in:
parent
7676d8ac8f
commit
ad5ea6801e
3 changed files with 45 additions and 0 deletions
|
@ -47,4 +47,11 @@ func init() {
|
|||
api.Router().GET("/views/*_", func(w http.ResponseWriter, r *http.Request, ps httprouter.Params) {
|
||||
http.ServeFile(w, r, path.Join(StaticDir, r.URL.Path))
|
||||
})
|
||||
|
||||
api.Router().GET("/check_import.html", func(w http.ResponseWriter, r *http.Request, ps httprouter.Params) {
|
||||
http.ServeFile(w, r, path.Join(StaticDir, "check_import.html"))
|
||||
})
|
||||
api.Router().GET("/full_import_report.json", func(w http.ResponseWriter, r *http.Request, ps httprouter.Params) {
|
||||
http.ServeFile(w, r, path.Join(StaticDir, "full_import_report.json"))
|
||||
})
|
||||
}
|
||||
|
|
Reference in a new issue