Skip to content

Commit 7ee6dcd

Browse files
committed
use relative path in contact form url
1 parent ba22fbe commit 7ee6dcd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hugo/assets/ts/contact-us-form.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ async function sendContactForm({
1313
email: string;
1414
message: string;
1515
}): Promise<void> {
16-
const url = "//api/contact-us-form";
16+
const url = "/api/contact-us-form";
1717

1818
await fetch(url, {
1919
method: "POST",

0 commit comments

Comments
 (0)