impress-2020/api
Matchu 9ec917e4d3 Use playwright-aws-lambda
So, just using normal playwright was crashing with this error: https://github.com/microsoft/playwright/issues/5862

I didn't understand why everyone was using playwright-core until I read the comments more carefully, and saw that it was because folks were using playwright-aws-lambda, because that's where Vercel functions run. (It has some special compat stuff.)

So I'm figuring that maybe the special case in Vercel's builder that fixes this for playwright-core maybe doesn't apply to normal playwright? But that people don't actually run into that issue in practice, because they're all using playwright-core for playwright-aws-lambda instead?

Idk, let's see how it goes! My hope is that this both fixes the immediate crasher about browsers.json being missing, _and_ fixes a problem we were _gonna_ have down the line about normal playwright not working in an AWS Lambda setting.
2021-08-17 01:01:09 -07:00
..
allWakaValues.js Fix eslint for /api 2021-05-13 01:13:21 -07:00
assetImage.js Use playwright-aws-lambda 2021-08-17 01:01:09 -07:00
graphql.js Access-Control-Allow-Origin: * for GraphQL 2021-05-27 16:41:52 -07:00
outfitImage.js Use a redirect for live outfits instead 2021-05-27 18:33:14 -07:00
outfitPageSSR.js Oops, fix outfit page SSR title 2021-06-15 22:49:29 -07:00
sendFeedback.js Fix eslint for /api 2021-05-13 01:13:21 -07:00
uploadLayerImage.js Fix eslint for /api 2021-05-13 01:13:21 -07:00
validPetPoses.js Fix eslint for /api 2021-05-13 01:13:21 -07:00