diff --git a/src/pages/MessagePage/MessagePage.jsx b/src/pages/MessagePage/MessagePage.jsx
index ae95dca..3428912 100644
--- a/src/pages/MessagePage/MessagePage.jsx
+++ b/src/pages/MessagePage/MessagePage.jsx
@@ -2,7 +2,7 @@
 import './MessagePage.css';
 import { useUser } from '../../context/UserContext';
 
-const API_BASE = process.env.REACT_APP_API_BASE;
+
 
 const mockMessages = [
   {
@@ -39,7 +39,7 @@
         await new Promise((r) => setTimeout(r, 500)); // 模拟延迟
         setMessages(mockMessages);
       } else {
-        const response = await fetch(`${API_BASE}/echo/messages/${currentUserId}`);
+        const response = await fetch(`/echo/messages/${currentUserId}`);
         const data = await response.json();
         if (data.status === 'success') {
           setMessages(data.messages);
