1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-12 00:30:06 +00:00

fix: organized code for usage of multer

This commit is contained in:
Saad Jutt
2022-02-28 04:04:30 +05:00
parent c5738792b0
commit ce0a5e1229
6 changed files with 53 additions and 28 deletions

View File

@@ -13,6 +13,8 @@ export const getWebBuildFolderPath = () =>
export const getTmpFolderPath = () => process.driveLoc
export const getTmpUploadsPath = () => path.join(getTmpFolderPath(), 'uploads')
export const getTmpFilesFolderPath = () =>
path.join(getTmpFolderPath(), 'files')