404 Error for Serveless Functions I'm confused about the directory

Hi, I’m still a noob. so I have a website rowelcapulong.com. I can’t get serverless function to work. I’m trying POST a form using ‘await fetch(“https://www.rowelcapulong.com/.netlify/functions/server”’ its still returning 404 on the website form

My folder directory:
-Root
–client
----Vite Project Files
–function
----server.js
–netlify.toml

Here is my Build Settings

I’m not sure how I can make this serveless function to work.

Looks like the function is working fine. Maybe you’ve resolved this.