mirror of
https://github.com/simon-ding/polaris.git
synced 2026-06-09 03:27:39 +08:00
feat: add default download client
This commit is contained in:
8
db/db.go
8
db/db.go
@@ -63,10 +63,10 @@ func (c *Client) init() {
|
|||||||
log.Infof("set default log level")
|
log.Infof("set default log level")
|
||||||
c.SetSetting(SettingLogLevel, "info")
|
c.SetSetting(SettingLogLevel, "info")
|
||||||
}
|
}
|
||||||
// if tr := c.GetTransmission(); tr == nil {
|
if tr := c.GetTransmission(); tr == nil {
|
||||||
// log.Warnf("no download client, set default download client")
|
log.Warnf("no download client, set default download client")
|
||||||
// c.SaveTransmission("transmission", "http://transmission:9091", "", "")
|
c.SaveTransmission("transmission", "http://transmission:9091", "", "")
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *Client) generateJwtSerectIfNotExist() {
|
func (c *Client) generateJwtSerectIfNotExist() {
|
||||||
|
|||||||
Reference in New Issue
Block a user