small improvements

This commit is contained in:
Daniel
2023-07-18 11:59:57 -04:00
parent b37d695091
commit b07040a26f
3 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import s3Client from "./s3Client";
export default function createFolder({ filePath }: { filePath: string }) {
if (s3Client) {
// Do nothing, S3 builds files recursively
// Do nothing, S3 creates directories recursively
} else {
const storagePath = process.env.STORAGE_FOLDER;
const creationPath = path.join(process.cwd(), storagePath + "/" + filePath);