From e2d1b836fdd5e5bd96ae29a6593cef7ff8c2df94 Mon Sep 17 00:00:00 2001 From: Germey Date: Sun, 31 Dec 2023 01:08:05 +0800 Subject: [PATCH] update upload --- nginx.conf | 2 +- src/components/midjourney/ReferenceImage.vue | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nginx.conf b/nginx.conf index db56582..2098c9b 100644 --- a/nginx.conf +++ b/nginx.conf @@ -5,7 +5,7 @@ server { location /api/v1/ { proxy_pass http://data-backend:8000; - client_max_body_size 8m; + client_max_body_size 20m; } location /oauth2/v1/ { diff --git a/src/components/midjourney/ReferenceImage.vue b/src/components/midjourney/ReferenceImage.vue index 777715d..4ffe846 100644 --- a/src/components/midjourney/ReferenceImage.vue +++ b/src/components/midjourney/ReferenceImage.vue @@ -3,10 +3,10 @@ file?.response?.image_url); + return this.fileList.map((file: UploadFile) => file?.response?.file_url); } }, watch: {