mirror of
https://github.com/filegator/filegator.git
synced 2025-08-27 01:14:29 +02:00
json and markdown are editable by default
This commit is contained in:
@@ -194,7 +194,9 @@ const api = {
|
||||
downloadItem (params) {
|
||||
return new Promise((resolve, reject) => {
|
||||
axios.get('download&path='+encodeURIComponent(Base64.encode(params.path)),
|
||||
{transformResponse : undefined})
|
||||
{
|
||||
transformResponse: undefined,
|
||||
})
|
||||
.then(res => resolve(res.data))
|
||||
.catch(error => reject(error))
|
||||
})
|
||||
|
Reference in New Issue
Block a user