Next.js Discord

Discord Forum

Vercel cron jobs

Unanswered
Hamiltonstövare posted this in #help-forum
Open in Discord
HamiltonstövareOP
I have the following vercel cron:
{
  "crons": [
    {
      "path": "/api/crons/resetUseCount",
      "schedule": "0 0 * * *"
    }
  ]
}

Its a project with basepath: /studio on the next.config...
Do i need to add the base path before /api?


Edit: Answer is yes I need to add the base path.

0 Replies