mirror of
https://github.com/strapi/strapi.git
synced 2025-09-25 16:29:34 +00:00
remove useless headers
Signed-off-by: Ky <virginie.ky@gmail.com>
This commit is contained in:
parent
c567ab55eb
commit
22d3c4d0ca
@ -179,7 +179,6 @@ const EditForm = forwardRef(
|
||||
const handleClickDownload = () => {
|
||||
axios
|
||||
.get(prefixedFileURL, {
|
||||
headers: new Headers({ Origin: window.location.origin, mode: 'cors' }),
|
||||
responseType: 'blob',
|
||||
})
|
||||
.then(({ data }) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user