From 99d351d8970c0a633271647df9ee757d9bde3be4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8C=97=E6=9E=B3?= <7854742+wang_rumeng@user.noreply.gitee.com> Date: Fri, 29 Aug 2025 03:19:43 +0800 Subject: [PATCH] =?UTF-8?q?=E9=89=B4=E6=9D=83=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/auth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/auth.ts b/lib/auth.ts index b411296..251d853 100644 --- a/lib/auth.ts +++ b/lib/auth.ts @@ -252,7 +252,7 @@ export const getUserProfile = async (): Promise => { throw new Error('No token available'); } - const response = await fetch(`${API_BASE_URL}/java-auth/profile`, { + const response = await fetch(`${API_BASE_URL}/auth/profile`, { method: 'GET', headers: { 'Accept': 'application/json',