1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-02 20:35:25 +02:00

fix(volume-browser): download capability for all types of files (#2954)

This commit is contained in:
Pedro Henrique 2019-06-21 10:44:29 -03:00 committed by xAt0mZ
parent f3b9668629
commit 96f266adf6
3 changed files with 5 additions and 3 deletions

View file

@ -12,7 +12,8 @@ angular.module('portainer.agent')
},
get: {
method: 'GET', params: { action: 'get' },
transformResponse: browseGetResponse
transformResponse: browseGetResponse,
responseType: 'arraybuffer'
},
delete: {
method: 'DELETE', params: { action: 'delete' }