diff --git a/src/index.ts b/src/index.ts index 3f5cb8da..3f5b4ca0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -76,7 +76,7 @@ router.all("*", async () => { export default { async fetch(request: Request, env: env): Promise { - const apiUrls = ["/invite"]; + const apiUrls = ["/invite", "/roles"]; const url = new URL(request.url); if (request.method === "POST" && !apiUrls.includes(url.pathname)) { const isVerifiedRequest = await verifyBot(request, env);