mirror of
https://github.com/strapi/strapi.git
synced 2025-09-26 08:52:26 +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 = () => {
|
const handleClickDownload = () => {
|
||||||
axios
|
axios
|
||||||
.get(prefixedFileURL, {
|
.get(prefixedFileURL, {
|
||||||
headers: new Headers({ Origin: window.location.origin, mode: 'cors' }),
|
|
||||||
responseType: 'blob',
|
responseType: 'blob',
|
||||||
})
|
})
|
||||||
.then(({ data }) => {
|
.then(({ data }) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user