diff --git a/.ops/dev/backend-deployment.yml b/.ops/dev/backend-deployment.yml index ef12804a..42929a3d 100644 --- a/.ops/dev/backend-deployment.yml +++ b/.ops/dev/backend-deployment.yml @@ -115,7 +115,7 @@ metadata: nginx.ingress.kubernetes.io/rewrite-target: /$2 nginx.ingress.kubernetes.io/backend-protocol: HTTPS nginx.ingress.kubernetes.io/upstream-vhost: basicai-dataset-tmp-minio-endpoint.alidev.beisai.com - nginx.ingress.kubernetes.io/proxy-body-size: 1000m + nginx.ingress.kubernetes.io/proxy-body-size: 1048576m name: minio spec: ingressClassName: nginx diff --git a/frontend/main/src/views/datasets/datasetContent/components/upload/UploadProgress.vue b/frontend/main/src/views/datasets/datasetContent/components/upload/UploadProgress.vue index ac6d6c82..17da6b48 100644 --- a/frontend/main/src/views/datasets/datasetContent/components/upload/UploadProgress.vue +++ b/frontend/main/src/views/datasets/datasetContent/components/upload/UploadProgress.vue @@ -48,7 +48,6 @@ import Icon, { SvgIcon } from '/@/components/Icon'; import { FileItem } from './uploadTyping'; import { UploadResultStatus } from '/@/components/Upload/src/typing'; - import { getBufferWithFile } from '/@/components/Upload/src/helper'; import { generatePresignedUrl, uploadDatasetApi, @@ -302,7 +301,7 @@ isUploading.value = false; } }; - getBufferWithFile(fileItem.file).then(upload); + upload(fileItem); } else { isUploading.value = false; }