try something

This commit is contained in:
taskylizard 2023-11-04 23:22:17 +05:30
parent 704f0bd729
commit 19aeb01801
No known key found for this signature in database
GPG Key ID: 5CABA3D642DDC497

View File

@ -46,8 +46,6 @@ async function handleSubmit(type?: string) {
const response = await fetch("https://feedback.tasky.workers.dev", { const response = await fetch("https://feedback.tasky.workers.dev", {
method: "POST", method: "POST",
headers: { headers: {
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Methods": "POST",
"Content-Type": "application/json", "Content-Type": "application/json",
}, },
body: JSON.stringify(body), body: JSON.stringify(body),