2
0

🚑 Move cache control header into the post policy

This commit is contained in:
Baptiste Arnaud
2023-11-02 14:43:49 +01:00
parent bdf9faea78
commit a855d85d04
7 changed files with 5 additions and 6 deletions

View File

@ -40,7 +40,6 @@ export const uploadFiles = async ({
Object.entries(data.formData).forEach(([key, value]) => {
formData.append(key, value)
})
formData.append('Cache-Control', 'max-age=86400')
formData.append('file', file)
const upload = await fetch(data.presignedUrl, {
method: 'POST',