mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-17 22:03:44 +02:00
Merge branch 'develop' into feature/react-admin
This commit is contained in:
@@ -18,8 +18,6 @@ export interface FileObject {
|
||||
|
||||
export default async (uuid: string, directory?: string): Promise<FileObject[]> => {
|
||||
const { data } = await http.get(`/api/client/servers/${uuid}/files/list`, {
|
||||
// At this point the directory is still encoded so we need to decode it since axios
|
||||
// will automatically re-encode this value before sending it along in the request.
|
||||
params: { directory: directory ?? '/' },
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user