impress-2020/pages/api
Emi Matchu 0e1b1eded3 Skip missing image layers in /api/outfitImage
Sometimes we don't have an image for an SWF asset. This can happen when
assets were converted to HTML5 without a PNG specified in the manifest.
(One example is bio/363, the Hind Biology for the Mutant Blumaroo.)

I'm noticing there's a second issue here on DTI's end, where it looks
like *we* have two copies of certain layers? I wonder if this was a bug
in like, the impress-2020 modeling code we tested at one point? Or if
this is in our main modeling code? e.g. the Mutant Blumaroo's bio/363
is in our database with DTI ID 192 and DTI ID 606955, and only the
former is registered as having an image (which we made ourselves and
host on S3).

So, I'm gonna start by just having the more graceful failure mode of
skipping the missing layer. But I'm also concerned about the root here,
I'll investigate!
2024-02-09 08:59:36 -08:00
..
allNCTradeValues.js Use latest ~owls NC trade values API 2022-09-04 01:35:05 -07:00
allWakaValues.js Turn on Honeycomb instrumentation again 2021-11-26 23:41:22 -08:00
assetImage.js Add CORS headers to /api/assetImage 2024-02-01 08:36:21 -08:00
assetImageRedirect.js Add /api/assetImageRedirect 2022-10-11 12:21:14 -07:00
graphql.js Oops, add Vary: Origin to GraphQL requests 2023-11-02 16:35:11 -07:00
outfitImage.js Skip missing image layers in /api/outfitImage 2024-02-09 08:59:36 -08:00
readFromArchive.js Fix bug in /api/readFromArchive 2022-10-13 14:02:37 -07:00
sendFeedback.js Turn on Honeycomb instrumentation again 2021-11-26 23:41:22 -08:00
uploadLayerImage.js Stop referencing the {color,species,zone}_translations tables 2024-02-03 08:05:15 -08:00
validPetPoses.js Enable Classic DTI to access impress-2020 via CORS 2023-08-20 15:40:21 -07:00