summary refs log tree commit diff
diff options
context:
space:
mode:
authorxnacly <matteogropp@protonmail.com>2021-08-29 17:11:27 +0200
committerxnacly <matteogropp@protonmail.com>2021-08-29 17:11:27 +0200
commitaa340d0a3be99442508f064eb056aebdf9047e46 (patch)
tree298d59848f9da3d32918b77b3b1f4495d01db6be
parentadded /avatars unittests [cdn] (diff)
downloadserver-aa340d0a3be99442508f064eb056aebdf9047e46.tar.xz
added todo to fileStorage [cdn]
-rw-r--r--cdn/src/util/FileStorage.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/cdn/src/util/FileStorage.ts b/cdn/src/util/FileStorage.ts

index 6e74788f..fae6eb1a 100644 --- a/cdn/src/util/FileStorage.ts +++ b/cdn/src/util/FileStorage.ts
@@ -6,6 +6,8 @@ import "missing-native-js-functions"; import { Readable } from "stream"; import ExifTransformer = require("exif-be-gone"); +// TODO: split stored files into separate folders named after cloned route + function getPath(path: string) { // STORAGE_LOCATION has a default value in start.ts const root = process.env.STORAGE_LOCATION || "../";