preview upload php
This commit is contained in:
@ -20,13 +20,9 @@ const upload = (file: File, onUploadProgress: any): Promise<any> => {
|
||||
return uploadRes;
|
||||
};
|
||||
|
||||
const getFiles = () : Promise<any> => {
|
||||
return Axios.get("/files");
|
||||
};
|
||||
|
||||
|
||||
const FileUploadService = {
|
||||
upload,
|
||||
getFiles,
|
||||
upload
|
||||
};
|
||||
|
||||
export default FileUploadService;
|
||||
Reference in New Issue
Block a user