refactor: update S3StorageAdapter to use publicUrl for object retrieval
Some checks failed
Build and Test / run-test (20.x) (push) Failing after 1m51s
Some checks failed
Build and Test / run-test (20.x) (push) Failing after 1m51s
This commit is contained in:
@@ -37,6 +37,7 @@ export const uploadFile = wrap(async (file: File) => {
|
||||
if (!result.ok) {
|
||||
throw new Error('File upload failed');
|
||||
}
|
||||
console.log(result.value);
|
||||
|
||||
const response = await fetch(result.value, {
|
||||
method: 'PUT',
|
||||
|
||||
Reference in New Issue
Block a user