diff --git a/packages/umi-uploader-arweave-via-turbo/src/createArweaveUploader.ts b/packages/umi-uploader-arweave-via-turbo/src/createArweaveUploader.ts index af6d953..c802d99 100644 --- a/packages/umi-uploader-arweave-via-turbo/src/createArweaveUploader.ts +++ b/packages/umi-uploader-arweave-via-turbo/src/createArweaveUploader.ts @@ -192,7 +192,7 @@ export function createArweaveUploader( const gateway = context.rpc.getCluster() === 'devnet' - ? 'https://arweave.dev' + ? 'https://turbo.ardrive.dev/raw' : 'https://arweave.net'; return `${gateway}/${dataItemId}`; diff --git a/packages/umi-uploader-arweave-via-turbo/test/ArweaveUploader.test.ts b/packages/umi-uploader-arweave-via-turbo/test/ArweaveUploader.test.ts index 95fdb50..e4c6731 100644 --- a/packages/umi-uploader-arweave-via-turbo/test/ArweaveUploader.test.ts +++ b/packages/umi-uploader-arweave-via-turbo/test/ArweaveUploader.test.ts @@ -55,7 +55,7 @@ test('can upload one file', async (t) => { // Then the URI should be a valid arweave dev gateway URI. t.truthy(uri); - t.true(uri.startsWith('https://arweave.dev/')); + t.true(uri.startsWith('https://turbo.ardrive.dev/')); // and it should point to the uploaded asset. const [asset] = await context.downloader.download([uri]); @@ -78,7 +78,7 @@ test.skip('can upload a file above 105 KiB in size', async (t) => { ]); t.truthy(uri); - t.true(uri.startsWith('https://arweave.dev/')); + t.true(uri.startsWith('https://turbo.ardrive.dev/')); const [asset] = await context.downloader.download([uri]); t.deepEqual(asset.buffer, buffer);