headers in vercel cron jobs
Answered
Naeemgg posted this in #help-forum
NaeemggOP
vercel.json
{
"crons": [
{
"path": "/api/cron",
"schedule": "0 5 * * *"
},
]
}
I have to send an
authorization
header for security.Answered by Naeemgg
found the solution here
https://github.com/orgs/vercel/discussions/2158
https://github.com/orgs/vercel/discussions/2158
1 Reply
NaeemggOP
found the solution here
https://github.com/orgs/vercel/discussions/2158
https://github.com/orgs/vercel/discussions/2158
Answer