Change the arrangement of CDN from /users/(banner|pfp)/userID to /users/userID/(banner|pfp).

This commit is contained in:
zkldi
2021-11-12 18:38:33 +00:00
parent c6689e0ad8
commit 2cbce09112
8 changed files with 19 additions and 12 deletions
@@ -12,6 +12,10 @@ if (!options.dir) {
throw new Error(`No dir provided, yet one is necessary.`);
}
// @warn THIS SCRIPT IS OUTDATED!
// Tachi now uses /users/${userID}/banner instead of
// /users/banner/${userID}
fs.mkdirSync("users/banner", { recursive: true });
fs.mkdirSync("users/pfp", { recursive: true });