format
This commit is contained in:
parent
2056c5978b
commit
788dc1093a
@ -46,8 +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-Origin": "*",
|
||||||
'Access-Control-Allow-Methods':'POST,PATCH,OPTIONS'
|
"Access-Control-Allow-Methods": "POST,PATCH,OPTIONS",
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
},
|
},
|
||||||
body: JSON.stringify(body),
|
body: JSON.stringify(body),
|
||||||
@ -101,7 +101,7 @@ async function handleSubmit(type?: string) {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<textarea v-model="feedback.message" autofocus class="input" />
|
<textarea v-model="feedback.message" autofocus class="input" />
|
||||||
<p class="desc">Contact, so we can get back to you. (Optional)</p>
|
<p class="desc">Contacts, so we can get back to you. (Optional)</p>
|
||||||
<textarea v-model="feedback.contactEmail" class="contact-input" />
|
<textarea v-model="feedback.contactEmail" class="contact-input" />
|
||||||
<button class="btn btn-primary" :disabled="!feedback.message" @click="handleSubmit()">
|
<button class="btn btn-primary" :disabled="!feedback.message" @click="handleSubmit()">
|
||||||
Submit
|
Submit
|
||||||
|
Loading…
Reference in New Issue
Block a user