mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-17 05:43:45 +02:00
Package updates
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user