chore: storage content type.

This commit is contained in:
thorwebdev committed 2022-12-01 00:17:48 +08:00
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,
})