Fix url in UI

This commit is contained in:
Mukhtar Akere
2025-04-08 21:00:40 +01:00
parent 9011420ac3
commit 92177b150b
3 changed files with 48 additions and 5 deletions

View File

@@ -29,7 +29,7 @@ func (c *Cache) refreshTorrentsWorker() {
}
func (c *Cache) resetInvalidLinksWorker() {
// Calculate time until next 12:00 CET
// Calculate time until next 00:00 CET
now := time.Now()
loc, err := time.LoadLocation("CET")
if err != nil {
@@ -43,7 +43,7 @@ func (c *Cache) resetInvalidLinksWorker() {
nowInCET.Year(),
nowInCET.Month(),
nowInCET.Day(),
12, 0, 0, 0,
0, 0, 0, 0,
loc,
)