diff --git a/docker/nginx.template b/docker/nginx.template index ac79fa5..746106c 100644 --- a/docker/nginx.template +++ b/docker/nginx.template @@ -14,6 +14,7 @@ server { index index.html; error_page 500 502 503 504 /50x.html; access_log /var/log/nginx/access.log custom; + client_max_body_size 0; location / { try_files $uri /index.html; diff --git a/frontend/src/pages/data/tabs/download/DownloadTab.tsx b/frontend/src/pages/data/tabs/download/DownloadTab.tsx index caf3121..62e34c5 100644 --- a/frontend/src/pages/data/tabs/download/DownloadTab.tsx +++ b/frontend/src/pages/data/tabs/download/DownloadTab.tsx @@ -12,7 +12,7 @@ function DownloadTab() { console.log(filename); console.log(cid); fetch( - `/api/codex/v1/data/${cid}`, + `/api/codex/v1/data/${cid}/network`, { headers: (nodeInfo.auth !== null && {