diff --git a/packages/sia-skynet/src/components/HomeUpload/HomeUpload.js b/packages/sia-skynet/src/components/HomeUpload/HomeUpload.js index f38f4264..96aa152e 100644 --- a/packages/sia-skynet/src/components/HomeUpload/HomeUpload.js +++ b/packages/sia-skynet/src/components/HomeUpload/HomeUpload.js @@ -21,7 +21,7 @@ export default class HomeUpload extends Component { }); acceptedFiles.forEach(async file => { - const url = `https://siasky.net/api/skyfile?filename=${file.name}`; + const url = `/api/skyfile?filename=${file.name}`; const fd = new FormData(); fd.append("file", file);