diff --git a/.vitepress/theme/components/Feedback.vue b/.vitepress/theme/components/Feedback.vue index 0aaa78704..fa644fd1b 100644 --- a/.vitepress/theme/components/Feedback.vue +++ b/.vitepress/theme/components/Feedback.vue @@ -45,10 +45,10 @@ async function handleSubmit(type?: string) { try { const response = await fetch("https://fmhy.vercel.app/api/feedback", { method: "POST", - headers: { - "Content-Type": "application/json", - }, - body: JSON.stringify(body), + headers: { + "Content-Type": "application/json", + }, + body: JSON.stringify(body), }); const data = await response.json(); @@ -100,7 +100,7 @@ async function handleSubmit(type?: string) {