diff --git a/src/pages/api/cron/route.ts b/src/pages/api/cron/tweet.ts similarity index 100% rename from src/pages/api/cron/route.ts rename to src/pages/api/cron/tweet.ts diff --git a/vercel.json b/vercel.json index 1782a256..3dfd0619 100644 --- a/vercel.json +++ b/vercel.json @@ -1,6 +1,6 @@ { "crons": [{ - "path": "/api/cron", + "path": "/api/cron/tweet", "schedule": "0 0 * * *" }] } \ No newline at end of file