diff --git a/js/user.js b/js/user.js
index 1e71011..ab5df00 100644
--- a/js/user.js
+++ b/js/user.js
@@ -7,7 +7,7 @@ async function renderUserProfile(username) {
container.innerHTML = '
加载中...
';
try {
- const users = await apiFetch('/users?username=' + encodeURIComponent(username));
+ const user = await apiFetch('/users/profile/' + encodeURIComponent(username));
const user = users && users.length > 0 ? users[0] : null;
if (!user) {