diff --git a/libs/remix-ui/publish-to-storage/src/lib/publishOnSwarm.tsx b/libs/remix-ui/publish-to-storage/src/lib/publishOnSwarm.tsx index 627577e3ad..19d0e0fb7a 100644 --- a/libs/remix-ui/publish-to-storage/src/lib/publishOnSwarm.tsx +++ b/libs/remix-ui/publish-to-storage/src/lib/publishOnSwarm.tsx @@ -140,6 +140,9 @@ const hashFromResults = (results: UploadResult[]) => { const uploadToBee = async (bee: Bee, postageStampId: string, content) => { try { + if (bee.url === publicBeeNode.url) { + postageStampId = defaultPostageStampId + } return await bee.uploadData(postageStampId, content) } catch { // ignore errors for now