Open ThaMunsta opened 10 years ago
I've determined this is a cookie issue. Not totally sure why the page doesn't want to create a cookie for me but I removed some of the checks so I can delete images. Not too worried security around that feature since I'm the only one using it lol Tried installing npm cookie-parser since I saw reference to that but no help. Meh
Love this script. Very easy to share screen shots
Not sure if these problems are related to each other but after uploading an image the delete button doesn't show up. When I change the if statement to ! isImageOwner it will show the delete button but clicking it and confirming delete doesn't remove the image. I get a 403 error on post for /Images/[imagename].jpg/delete
Thanks!