Package updates
This commit is contained in:
parent
ae3f05b8f7
commit
bfd62304ae
4 changed files with 752 additions and 1915 deletions
|
@ -5,7 +5,7 @@ export default (server: string, file: string): Promise<string> => {
|
|||
http.get(`/api/client/servers/${server}/files/contents`, {
|
||||
params: { file },
|
||||
transformResponse: res => res,
|
||||
responseType: 'text/plain',
|
||||
responseType: 'text',
|
||||
})
|
||||
.then(({ data }) => resolve(data))
|
||||
.catch(reject);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue