mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-28 23:42:58 -04:00
#269 reduce S3 usage - clean up unused cards
This commit is contained in:
parent
d203347b39
commit
ca84f65b6f
@ -18,7 +18,7 @@ async function cleanup() {
|
|||||||
FROM users
|
FROM users
|
||||||
WHERE avatarSource LIKE 'https://pronouns-page.s3-eu-west-1.amazonaws.com/images/%'`
|
WHERE avatarSource LIKE 'https://pronouns-page.s3-eu-west-1.amazonaws.com/images/%'`
|
||||||
)) {
|
)) {
|
||||||
avatars[row.avatarSource.match('https://pronouns-page.s3-eu-west-1.amazonaws.com/images/(.*)-thumb.png')[1]] = true;
|
avatars[row.avatarSource.match('https://pronouns-page.s3.eu-west-1.amazonaws.com/images/(.*)-thumb.png')[1]] = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
const flags = {};
|
const flags = {};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user