mirror of
https://github.com/logos-storage/logos-storage-frontend.git
synced 2026-01-02 13:23:09 +00:00
MDF not to date yet
This commit is contained in:
parent
545df5c5d8
commit
32a18a36d3
@ -12,7 +12,7 @@ function DownloadTab() {
|
||||
console.log(filename);
|
||||
console.log(cid);
|
||||
fetch(
|
||||
`/api/codex/v1/content/${cid}`,
|
||||
`/api/codex/v1/download/${cid}`,
|
||||
{
|
||||
headers:
|
||||
(nodeInfo.auth !== null && {
|
||||
|
||||
@ -44,7 +44,7 @@ function UploadTab() {
|
||||
var newCid = "";
|
||||
try {
|
||||
await axios
|
||||
.post(`/api/codex/v1/content`, bytes, {
|
||||
.post(`/api/codex/v1/upload`, bytes, {
|
||||
headers: (nodeInfo.auth !== null && {
|
||||
"Base-Url": nodeInfo.nodeToConnectTo || nodeInfo.baseUrl,
|
||||
"Content-Type": "application/octet-stream",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user