diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2019-10-19 10:53:43 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2019-10-19 10:53:43 -0400 |
commit | 83425f894dc8a8c07a358d4cd31fa68aa6a17f64 (patch) | |
tree | bf7aaa591bde6718aacdeaea01c7623928f80332 | |
parent | a1726e5a20653f6239b2ef2cb4de7816f0854855 (diff) |
from last.
-rw-r--r-- | src/server/index.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/server/index.ts b/src/server/index.ts index 87b7ad76d..ee6a497ba 100644 --- a/src/server/index.ts +++ b/src/server/index.ts @@ -746,9 +746,7 @@ addSecureRoute({ }); }); } else if (type.indexOf("audio") !== -1) { - if (location !== uploadDirectory + filename) { - fs.createReadStream(uploadDirectory + filename).pipe(fs.createWriteStream(location)); - } + // nothing to be done yet-- although transcribing the audio a la pdfs would make sense. } else { uploadInformation = await DashUploadUtils.UploadImage(uploadDirectory + filename, filename); } |