更新files-upload.ts文件,修改上传文件的端口
This commit is contained in:
@@ -177,7 +177,8 @@ export async function uploadDocumentToServer(
|
|||||||
|
|
||||||
// 发送请求
|
// 发送请求
|
||||||
// const response = await fetch(`${API_BASE_URL}/admin/documents/upload`, {
|
// 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.58:8008/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', {
|
// const response = await fetch('http://172.16.0.119:8000/admin/documents/upload', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
|
|||||||
Reference in New Issue
Block a user