work around cors I think?

This commit is contained in:
taskylizard 2023-11-03 13:10:31 +05:30
parent f5e6858fd3
commit 4c9c65d56d
No known key found for this signature in database
GPG Key ID: 5CABA3D642DDC497

View File

@ -43,7 +43,7 @@ async function handleSubmit(type?: string) {
}; };
try { try {
const response = await fetch("https://fmhy.vercel.app/api/feedback", { const response = await fetch("https://fmhy.tk/api/feedback", {
method: "POST", method: "POST",
headers: { headers: {
"Content-Type": "application/json", "Content-Type": "application/json",