mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-03 04:18:16 +03:00
Change the arrangement of CDN from /users/(banner|pfp)/userID to /users/userID/(banner|pfp).
This commit is contained in:
@@ -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 });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user