fix: pass path of request to qstash
This commit is contained in:
@@ -16,9 +16,11 @@ import { getUpcomingTitlesFromAnilist } from "./anilist";
|
||||
const app = new Hono();
|
||||
|
||||
app.post("/titles", async (c) => {
|
||||
console.log(c.req.path);
|
||||
if (
|
||||
!(await verifyQstashHeader(
|
||||
env<Env, typeof c>(c, "workerd"),
|
||||
c.req.path,
|
||||
c.req.header("Upstash-Signature"),
|
||||
await c.req.text(),
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user