mirror of
https://github.com/fmhy/edit.git
synced 2026-02-19 09:41:17 +11:00
format
This commit is contained in:
parent
0cebed8923
commit
2056c5978b
2 changed files with 3 additions and 1 deletions
|
|
@ -46,6 +46,8 @@ 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,PATCH,OPTIONS'
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
},
|
},
|
||||||
body: JSON.stringify(body),
|
body: JSON.stringify(body),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue