Fix the download api url link

This commit is contained in:
Arnaud 2024-10-22 10:21:50 +02:00
parent 1ce790fcd5
commit a9832f81a9
No known key found for this signature in database
GPG Key ID: 69D6CE281FCAE663

View File

@ -7,7 +7,7 @@ export function Download() {
const [cid, setCid] = useState("");
const onDownload = () => {
const url = CodexSdk.url() + "/api/codex/v1/data/";
window.open(url + cid + "/network", "_target");
window.open(url + cid + "/network/stream", "_target");
};
const onCidChange = (e: ChangeEvent<HTMLInputElement>) =>