mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
feat(config): check for updates reading from config (#1038)
* go indent linting * getLatest endpoint follows config.CheckForUpdates * Revert "getLatest endpoint follows config.CheckForUpdates" This reverts commit 495fabad13b1a96aa83ce50792f5725e9b51061a. * getLatestRelease follows config.check_for_updates * revert: rename data - less changes to conflict * fixup: revert: rename data - less changes to conflict * change queryFn to arrow function
This commit is contained in:
parent
438902137b
commit
6a4d96f988
3 changed files with 14 additions and 4 deletions
|
@ -81,7 +81,7 @@ func (s Server) Open() error {
|
|||
}
|
||||
|
||||
server := http.Server{
|
||||
Handler: s.Handler(),
|
||||
Handler: s.Handler(),
|
||||
ReadHeaderTimeout: time.Second * 15,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue