feat: add refresh button & parse dialog

This commit is contained in:
Simon Ding
2024-11-01 21:53:38 +08:00
parent 2da02fa706
commit e67413cec2
8 changed files with 291 additions and 59 deletions

View File

@@ -105,6 +105,7 @@ func (s *Server) SetSetting(c *gin.Context) (interface{}, error) {
return nil, nil
}
func (s *Server) GetSetting(c *gin.Context) (interface{}, error) {
tmdb := s.db.GetSetting(db.SettingTmdbApiKey)
downloadDir := s.db.GetSetting(db.SettingDownloadDir)