mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
fix(config): load sqlite from configdir (#281)
This commit is contained in:
parent
2ad939ee8b
commit
2a10ea27c6
1 changed files with 1 additions and 0 deletions
|
@ -104,6 +104,7 @@ func New(configPath string, version string) *AppConfig {
|
||||||
c := &AppConfig{}
|
c := &AppConfig{}
|
||||||
c.defaults()
|
c.defaults()
|
||||||
c.Config.Version = version
|
c.Config.Version = version
|
||||||
|
c.Config.ConfigPath = configPath
|
||||||
|
|
||||||
c.load(configPath)
|
c.load(configPath)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue