diff --git a/.vitepress/routes/index.post.ts b/.vitepress/routes/index.post.ts index 3a2eebb72..8dd050577 100644 --- a/.vitepress/routes/index.post.ts +++ b/.vitepress/routes/index.post.ts @@ -30,7 +30,7 @@ export default defineEventHandler(async (event) => { if (!["bug", "suggestion", "other", "appreciate"].includes(feedbackType!) || !message) { throw new Error("Invalid input."); } - console.log(env.WEBHOOK_URL, process.env.WEBHOOK_URL); + await fetcher() .post(env.WEBHOOK_URL, { username: "Feedback",