Skip to content

Commit 2d62584

Browse files
committed
fix: remove duplicate api/ prefix in contact form POST path
1 parent fd19701 commit 2d62584

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

client/src/components/contact-form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default function ContactForm() {
2929
e.preventDefault();
3030
setStatus("submitting");
3131
try {
32-
await api.post("api/contact/contact/", form);
32+
await api.post("/contact/contact/", form);
3333
setStatus("success");
3434
setForm(initialForm);
3535
} catch {

0 commit comments

Comments
 (0)