mirror of
https://github.com/tgdrive/teldrive.git
synced 2024-11-10 09:02:52 +08:00
Merge branch 'main' of https://github.com/divyam234/teldrive
This commit is contained in:
commit
aae8a9f116
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -36,7 +36,7 @@ func main() {
|
|||
|
||||
scheduler := gocron.NewScheduler(time.UTC)
|
||||
|
||||
scheduler.Every(4).Hours().Do(cron.FilesDeleteJob)
|
||||
scheduler.Every(1).Hours().Do(cron.FilesDeleteJob)
|
||||
|
||||
router.Use(cors.New(cors.Config{
|
||||
AllowMethods: []string{"GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS"},
|
||||
|
|
Loading…
Reference in a new issue