fix: rename route from /upcoming/titles to /upcoming-titles
This commit is contained in:
@@ -15,7 +15,7 @@ import { getUpcomingTitlesFromAnilist } from "./anilist";
|
||||
|
||||
const app = new Hono();
|
||||
|
||||
app.post("/titles", async (c) => {
|
||||
app.post("/", async (c) => {
|
||||
if (
|
||||
!(await verifyQstashHeader(
|
||||
env<Env, typeof c>(c, "workerd"),
|
||||
@@ -1,10 +0,0 @@
|
||||
import { Hono } from "hono";
|
||||
|
||||
const app = new Hono();
|
||||
|
||||
app.route(
|
||||
"/",
|
||||
await import("./titles").then((controller) => controller.default),
|
||||
);
|
||||
|
||||
export default app;
|
||||
Reference in New Issue
Block a user