chore: Update S3 configuration and endpoint handling

This commit is contained in:
Sean Morley
2024-06-12 13:23:59 +00:00
parent 2cd169817f
commit d27971692d
2 changed files with 19 additions and 4 deletions

View File

@@ -81,6 +81,9 @@ export const actions: Actions = {
const response = await event.fetch("/api/upload", {
method: "POST",
body: profilePicture,
headers: {
bucket: "profile-pics",
},
});
const data = await response.json();