updates download url, removes nginx max_body_size check

This commit is contained in:
benbierens 2023-12-08 13:28:57 +01:00
parent 18d5e73e13
commit 98616cbe8f
No known key found for this signature in database
GPG Key ID: FE44815D96D0A1AA
2 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,7 @@ server {
index index.html; index index.html;
error_page 500 502 503 504 /50x.html; error_page 500 502 503 504 /50x.html;
access_log /var/log/nginx/access.log custom; access_log /var/log/nginx/access.log custom;
client_max_body_size 0;
location / { location / {
try_files $uri /index.html; try_files $uri /index.html;

View File

@ -12,7 +12,7 @@ function DownloadTab() {
console.log(filename); console.log(filename);
console.log(cid); console.log(cid);
fetch( fetch(
`/api/codex/v1/data/${cid}`, `/api/codex/v1/data/${cid}/network`,
{ {
headers: headers:
(nodeInfo.auth !== null && { (nodeInfo.auth !== null && {