[bugfix] update static path on scripts

This commit is contained in:
2026-03-25 13:42:19 -04:00
parent 3f9b1accda
commit 35c8bf25f5
2 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ async function findMissingImages() {
.where(sql`${schema.tcgcards.sealed} = false`);
const missingImages: string[] = [];
for (const card of cards) {
const imagePath = path.join(process.cwd(), 'public', 'cards', `${card.productId}.jpg`);
const imagePath = path.join(process.cwd(), 'static', 'cards', `${card.productId}.jpg`);
try {
await fs.access(imagePath);
} catch (err) {