c430ae8dd6
oh, oops, _do_ send Content-Type with proxied JS
...
right, _length_ only works if we're streaming unencoded content, but type is still good no matter what!
2020-09-21 11:42:24 -07:00
7f2660554e
oops, assetProxy more things for animate-test.html
2020-09-21 07:07:47 -07:00
0bd2136dd0
test case for HTML5 animations
2020-09-21 06:52:36 -07:00
453953dded
simplify validPetPoses out of the server directory
2020-09-06 00:40:00 -07:00
5f4952b123
log uploadLayerImage support actions
2020-08-26 19:12:43 -07:00
f7997b4dc9
some Honeycomb fixes
...
We got bit by the "can't run anything after the response finishes" thing
so I'm just forcing the response to wait for Honeycomb submit to finish
I hope this isn't like, just awful for perf lol. but puts to honeycomb seem fast?
2020-08-17 01:16:35 -07:00
61cdc9bca0
add error message when S3 config is missing
...
I figure we can get even better messages than "Access denied" in case this happens again!
Also, I need a new deployment to trigger the new env vars, so why not make it count? :)
2020-08-05 14:12:44 -07:00
197dfd4e11
Maybe fix PNG upload bug in prod?
...
My hypothesis is that this missing `await` is causing prod Vercel to cut off the request before the async upload finishes. Omitting this `await` was a mistake, so I'm just adding it right in!
I also add logging for the success case. That way, if this isn't actually a fix, I can at least watch the logs and confirm whether the app thinks it's getting to here.
2020-08-05 14:03:14 -07:00
b520d1095c
show new PNG in the app ~immediately
...
I had a hard time getting this to work the ideal way, but this way is Good Enough! a few seconds delay, oh well
2020-08-05 14:00:53 -07:00
10be4c4ea1
use asset proxy for SWF upload tool
...
Oops, I forgot that in prod the HTTPS wouldn't be happy about loading SWFs over HTTP! Use the asset proxy instead.
2020-08-05 13:08:18 -07:00
a56ca20f69
Finish support tool to upload manual PNGs
...
Great for fixing those ones that the auto converters can't do!
2020-08-04 18:39:31 -07:00
Matt Dunn-Rankin
e18aba17c6
add svgUrl for image layers
2020-05-11 21:19:34 -07:00
Matt Dunn-Rankin
a164235c0e
add cache-control to validPetPoses API
2020-05-03 02:13:46 -07:00
Matt Dunn-Rankin
04a851a138
new endpoint for blob of valid pet poses
2020-05-03 01:04:34 -07:00
Matt Dunn-Rankin
4954d4adcf
pose picker foundational UI!
2020-05-02 15:41:02 -07:00
Matt Dunn-Rankin
2db0e33f28
forward Cache-Control response header too!
2020-04-30 00:18:01 -07:00
Matt Dunn-Rankin
86a7bd21eb
cache proxied images for 1 day
2020-04-30 00:13:35 -07:00
Matt Dunn-Rankin
17d72310bb
start using asset proxy for item thumbnails
...
we're HTTPS now, baby!!
2020-04-30 00:02:00 -07:00
Matt Dunn-Rankin
800cccf61c
move apollo-server-vercel into a lib folder
2020-04-25 23:04:49 -07:00
Matt Dunn-Rankin
496d69dc95
got apollo server running as a vercel function!
2020-04-22 14:02:23 -07:00
Matt Dunn-Rankin
81a2306667
move to vercel now function api structure
...
I haven't really tested the API yet, because it's hard to query GraphQL directly, but I'll set up the client in a bit for it!
2020-04-22 13:03:32 -07:00