diff --git a/db/db.go b/db/db.go index fc781de..f34fde3 100644 --- a/db/db.go +++ b/db/db.go @@ -333,7 +333,7 @@ func (c *Client) DeleteHistory(id int) error { func (c *Client) GetDownloadDir() string { r, err := c.ent.Settings.Query().Where(settings.Key(SettingDownloadDir)).First(context.TODO()) if err != nil { - return "/download" + return "/downloads" } return r.Value } \ No newline at end of file