Update avatar cache location
This commit is contained in:
parent
0ae77ecbf7
commit
0aa5be8bc9
@ -1,7 +1,7 @@
|
||||
import fs from "fs";
|
||||
import path from "path";
|
||||
|
||||
const cacheDir = process.cwd() + path.sep + "cache";
|
||||
const cacheDir = process.cwd() + path.sep + "avatar_cache";
|
||||
if (!fs.existsSync(cacheDir)) {
|
||||
fs.mkdirSync(cacheDir);
|
||||
console.log("Created avatar cache directory");
|
||||
|
Reference in New Issue
Block a user