Update avatar cache location

This commit is contained in:
Liam 2022-10-19 18:11:59 +01:00
parent 0ae77ecbf7
commit 0aa5be8bc9

View File

@ -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");