diff --git a/src/server/http/routes/cron.ts b/src/server/http/routes/cron.ts index 7f4ebab..ad4957f 100644 --- a/src/server/http/routes/cron.ts +++ b/src/server/http/routes/cron.ts @@ -11,7 +11,7 @@ export class CronRouter extends Router { const { url = '', method } = req const [route] = url.split('?') switch (true) { - case /^\/cron\/$/.test(route) && method === 'GET': { + case /^\/cron\/?$/.test(route) && method === 'GET': { await this.GET_cron(req, res) break }