Skip to content

Commit

Permalink
feat!: the api endpoint change to feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
2nthony committed Jan 4, 2023
1 parent fd8c0c4 commit f718441
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/components/form.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
async function handleSend() {
sending = true;
fetch("/api/send", { method: "post", body: JSON.stringify(formValue) })
fetch("/api/feedback", { method: "post", body: JSON.stringify(formValue) })
.then((res) => {
if (res.ok) {
sent = true;
Expand Down

1 comment on commit f718441

@vercel
Copy link

@vercel vercel bot commented on f718441 Jan 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nofeedback – ./

nofeedback.vercel.app
nofeedback-git-main-2nthony.vercel.app
nofeedback-2nthony.vercel.app

Please sign in to comment.