Next.js Discord

Discord Forum

headers in vercel cron jobs

Answered
Naeemgg posted this in #help-forum
Open in Discord
Avatar
vercel.json
{
  "crons": [
    {
      "path": "/api/cron",
      "schedule": "0 5 * * *"
    },
  ]
}

I have to send an authorization header for security.
Answered by Naeemgg
View full answer

1 Reply

Avatar
Answer