add start scan button

This commit is contained in:
sentriz
2019-07-03 12:57:22 +01:00
parent ada62d1511
commit c7c9ecbf04
3 changed files with 20 additions and 1 deletions

View File

@@ -144,5 +144,6 @@ func (s *Server) SetupAdmin() error {
s.mux.HandleFunc("/admin/create_user_do", withAdminWare(s.ServeCreateUserDo))
s.mux.HandleFunc("/admin/update_lastfm_api_key", withAdminWare(s.ServeUpdateLastFMAPIKey))
s.mux.HandleFunc("/admin/update_lastfm_api_key_do", withAdminWare(s.ServeUpdateLastFMAPIKeyDo))
s.mux.HandleFunc("/admin/start_scan_do", withAdminWare(s.ServeStartScanDo))
return nil
}