mirror of
https://github.com/filegator/filegator.git
synced 2025-08-11 21:34:17 +02:00
do not transform response (json) fixes #201
This commit is contained in:
@@ -195,7 +195,7 @@ const api = {
|
||||
return new Promise((resolve, reject) => {
|
||||
axios.get('download&path='+encodeURIComponent(Base64.encode(params.path)),
|
||||
{
|
||||
transformResponse: undefined,
|
||||
transformResponse: [data => data],
|
||||
})
|
||||
.then(res => resolve(res.data))
|
||||
.catch(error => reject(error))
|
||||
|
Reference in New Issue
Block a user