This commit is contained in:
divyam234 2023-08-25 23:02:09 +05:30
commit aae8a9f116

View file

@ -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"},