更新表单提交地址指向 Render API

This commit is contained in:
h4erj
2026-06-24 10:34:13 +08:00
parent 71c89232fd
commit 6f1c24ff4a
+1 -1
View File
@@ -190,7 +190,7 @@ async function handleContactForm(event) {
submitButton.textContent = '提交中...';
try {
const response = await fetch('/api/contact', {
const response = await fetch('https://haiguji-website.onrender.com/api/contact', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(formData)