From aa340d0a3be99442508f064eb056aebdf9047e46 Mon Sep 17 00:00:00 2001 From: xnacly Date: Sun, 29 Aug 2021 17:11:27 +0200 Subject: [PATCH] added todo to fileStorage [cdn] --- cdn/src/util/FileStorage.ts | 2 ++ 1 file changed, 2 insertions(+) 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 || "../";