Skip to content

Commit

Permalink
[share] fix card image
Browse files Browse the repository at this point in the history
  • Loading branch information
rdonnelly committed Nov 15, 2022
1 parent 90b399b commit 2e3a7d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/shared/src/data/models/Card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,13 +274,13 @@ export class Card {

if (isDoubleSided) {
return [
`https://cerebrodatastorage.blob.core.windows.net/cerebro-cards/official/${this.code}A.jpg`,
`https://cerebrodatastorage.blob.core.windows.net/cerebro-cards/official/${this.code}B.jpg`,
`https://cerebrodatastorage.blob.core.windows.net/cerebro-cards/official/${this.code.toUpperCase()}A.jpg`,
`https://cerebrodatastorage.blob.core.windows.net/cerebro-cards/official/${this.code.toUpperCase()}B.jpg`,
];
}

return [
`https://cerebrodatastorage.blob.core.windows.net/cerebro-cards/official/${this.code}.jpg`,
`https://cerebrodatastorage.blob.core.windows.net/cerebro-cards/official/${this.code.toUpperCase()}.jpg`,
];
}

Expand Down

0 comments on commit 2e3a7d9

Please sign in to comment.