From c0849b84a4bc5f6565acdabdeb083b3b71f9282a Mon Sep 17 00:00:00 2001 From: awen Date: Wed, 16 Apr 2025 18:48:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8E=E7=AB=AF=E7=94=A8=E6=9C=AC=E5=9C=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/files/files-upload.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/files/files-upload.ts b/app/api/files/files-upload.ts index 0f9e0d6..8960ac5 100644 --- a/app/api/files/files-upload.ts +++ b/app/api/files/files-upload.ts @@ -175,7 +175,7 @@ export async function uploadDocumentToServer( // 发送请求 // const response = await fetch(`${API_BASE_URL}/admin/documents/upload`, { - const response = await fetch('http://172.16.0.55:8000/admin/documents/upload', { + const response = await fetch('http://172.16.0.119:8000/admin/documents/upload', { method: 'POST', headers: { 'X-File-Name': encodeURIComponent(fileName)