Skip to content

Commit

Permalink
Add more gateway and update url web download
Browse files Browse the repository at this point in the history
  • Loading branch information
py7hon committed Oct 27, 2021
1 parent f95d1b8 commit f2892d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/encrypt_block_stream.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ List<String> ipfsGateway = [
'https://dweb.link/ipfs/', // FAST and CORS
'https://ipfs.trusti.id/ipfs/', // FAST and CORS
'https://ipfs.eu.org/ipfs/', // FAST and CORS
'http://ipfs.iqbalrifai.eu.org/ipfs/', // FAST, CORS and Host on Bulletproof Server
];

String getRandomGateway() {
Expand Down
2 changes: 1 addition & 1 deletion lib/upload.dart
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ void startEncryptAndUpload(

print('Secure Download Link for ${greenBold(metadata['filename'])}:');
print('\nCLI: $link');
print('\nWeb: https://uup.bugs.today/x-$cID/#$secret');
print('\nWeb: https://uup.bugs.today/#x-$cID+$secret');
}

Stream<List<int>> getStreamOfIOFile(Stream<List<int>> stream) async* {
Expand Down

0 comments on commit f2892d6

Please sign in to comment.