added functional mailer

This commit is contained in:
2026-01-27 21:11:01 +01:00
parent ce760eb721
commit e1615f9345
3 changed files with 56 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ export const ContactPage = () => {
const sendMessage = async () => {
// Logic to send the message
const result = await fetch(`${API_BASE}/contact`, {
const result = await fetch(`${API_BASE}/api/users/contact`, {
method: "POST",
headers: {
Authorization: `Bearer ${Cookies.get("token") || ""}`,