fix: pass path of request to qstash
This commit is contained in:
@@ -4,6 +4,7 @@ import type { Env } from "~/types/env";
|
||||
|
||||
export function verifyQstashHeader(
|
||||
env: Env,
|
||||
route: string,
|
||||
signature: string | undefined,
|
||||
body: string,
|
||||
): Promise<boolean> {
|
||||
@@ -19,6 +20,6 @@ export function verifyQstashHeader(
|
||||
return receiver.verify({
|
||||
body,
|
||||
signature,
|
||||
url: "https://aniplay-v2.rururu.workers.dev",
|
||||
url: `https://aniplay-v2.rururu.workers.dev${route}`,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user