github.com/shurcooL/issuesapp/...

Image uploads currently broken. #22

Closeddmitshur opened this issue 3 years ago
dmitshur commented 3 years ago

This is a regression. I think it's related to the recent CSRF change for /.ui/ endpoints. /cc @pararthshah

Attempting to upload an image results in this error in console:

(That image was uploaded elsewhere.)

Write Preview Markdown
dmitshur commented 3 years ago

I just need to include the CSRF value in a header when making that POST request, that should fix it. Thanks Pararth!

Write Preview Markdown
dmitshur commented 3 years ago

Resolved in 6cc63669.

Write Preview Markdown
dmitshur closed this 3 years ago
to comment.