preview upload php

This commit is contained in:
2023-01-04 00:16:09 +01:00
parent 371b55bd64
commit 57270dd7a6
4 changed files with 81 additions and 36 deletions

View File

@ -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;