summary refs log tree commit diff
path: root/src/cdn/util/Storage.ts
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-26 22:12:16 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-26 22:13:02 +1000
commitfcc0884e36d3dbd15ce50c17af16fef5ff38b510 (patch)
tree064be8a67962cac44721c7de0ecb36e51a736773 /src/cdn/util/Storage.ts
parentMove schemas to /src/util/schemas (diff)
downloadserver-fcc0884e36d3dbd15ce50c17af16fef5ff38b510.tar.xz
Remove the cdn storage location log
Diffstat (limited to 'src/cdn/util/Storage.ts')
-rw-r--r--src/cdn/util/Storage.ts3
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;