mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
chore: storage content type.
This commit is contained in:
1 parent
d475a6e5b1
commit
e596243804
1 file changed
+1
@@ -207,6 +207,7 @@ export async function handler(req: Request) {
|
||||
const { error } = await supabaseAdminClient.storage
|
||||
.from('images')
|
||||
.upload(`lw6/tickets/${username}.png`, generatedImage.body!, {
|
||||
contentType: 'image/png',
|
||||
cacheControl: '31536000',
|
||||
upsert: false,
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user