mirror of
https://github.com/logos-storage/logos-storage-frontend.git
synced 2026-01-02 05:13:13 +00:00
updates download url, removes nginx max_body_size check
This commit is contained in:
parent
18d5e73e13
commit
98616cbe8f
@ -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;
|
||||||
|
|||||||
@ -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 && {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user