summary refs log tree commit diff
path: root/cdn
diff options
context:
space:
mode:
authoruurgothat <cckhmck@gmail.com>2021-10-04 22:01:08 +0300
committeruurgothat <cckhmck@gmail.com>2021-10-04 22:01:08 +0300
commit18abf9ef40404a5693cf62d3f8b026f491765264 (patch)
treeffba9b64dd2d9f62940e3c994e8f97f841746ebe /cdn
parentMerge branch 'master' of https://github.com/fosscord/fosscord-server (diff)
downloadserver-18abf9ef40404a5693cf62d3f8b026f491765264.tar.xz
Rainbow the logs
Diffstat (limited to 'cdn')
-rw-r--r--cdn/src/util/Storage.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/cdn/src/util/Storage.ts b/cdn/src/util/Storage.ts
index 5cf1eb80..8ae44bbb 100644
--- a/cdn/src/util/Storage.ts
+++ b/cdn/src/util/Storage.ts
@@ -1,6 +1,7 @@
 import { FileStorage } from "./FileStorage";
 import path from "path";
 import fse from "fs-extra";
+import { bgCyan, black } from "chalk";
 process.cwd();
 
 export interface Storage {
@@ -18,7 +19,7 @@ if (process.env.STORAGE_PROVIDER === "file" || !process.env.STORAGE_PROVIDER) {
 	} else {
 		location = path.join(process.cwd(), "files");
 	}
-	console.log(`[CDN] storage location: ${location}`);
+	console.log(`[CDN] storage location: ${bgCyan(`${black(location)}`)}`);
 	fse.ensureDirSync(location);
 	process.env.STORAGE_LOCATION = location;