mirror of
https://github.com/simon-ding/polaris.git
synced 2026-06-09 11:39:46 +08:00
feat: no add transmission config
This commit is contained in:
16
db/db.go
16
db/db.go
@@ -68,14 +68,14 @@ 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.GetAllDonloadClients(); len(tr) == 0 {
|
// if tr := c.GetAllDonloadClients(); len(tr) == 0 {
|
||||||
log.Warnf("no download client, set default download client")
|
// log.Warnf("no download client, set default download client")
|
||||||
c.SaveDownloader(&ent.DownloadClients{
|
// c.SaveDownloader(&ent.DownloadClients{
|
||||||
Name: "transmission",
|
// Name: "transmission",
|
||||||
Implementation: downloadclients.ImplementationTransmission,
|
// Implementation: downloadclients.ImplementationTransmission,
|
||||||
URL: "http://transmission:9091",
|
// URL: "http://transmission:9091",
|
||||||
})
|
// })
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *client) generateJwtSerectIfNotExist() {
|
func (c *client) generateJwtSerectIfNotExist() {
|
||||||
|
|||||||
Reference in New Issue
Block a user