1 files changed, 2 insertions, 1 deletions
diff --git a/src/cdn/util/Storage.ts b/src/cdn/util/Storage.ts
index 04fbacca..d040f50b 100644
--- a/src/cdn/util/Storage.ts
+++ b/src/cdn/util/Storage.ts
@@ -21,7 +21,8 @@ if (process.env.STORAGE_PROVIDER === "file" || !process.env.STORAGE_PROVIDER) {
} else {
location = path.join(process.cwd(), "files");
}
- console.log(`[CDN] storage location: ${bgCyan(`${black(location)}`)}`);
+ // TODO: move this to some start func, so it doesn't run when server is imported
+ //console.log(`[CDN] storage location: ${bgCyan(`${black(location)}`)}`);
if (!fs.existsSync(location)) fs.mkdirSync(location);
process.env.STORAGE_LOCATION = location;
|