Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Picture upload links might be issued from the server but not used by the client #16

Open
abrahamq opened this issue Oct 31, 2016 · 0 comments

Comments

@abrahamq
Copy link
Member

Right now, the client asks the server for a signed url, the server (which has credentials)
asks s3 for a signed url where the client can PUT an image. There's a corner case where the
server asks for a signed url, but the client doesn't actually PUT the image (connection drops, user backs out, so on.)

Here's a fix: use the lambda code to touch our database after it does the compression so that it tells us that an image url is present.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant