When I try to send a file I catch 500 error: Fail...
# prisma-whats-new
v
When I try to send a file I catch 500 error: Failed to load https://api.graph.cool/file/v1/xxx: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8081' is therefore not allowed access. The response had HTTP status code 500 -------- In data I have this
Copy code
{uri: "file:///path/CoreSimul…ocuments/8C027537-CFE5-47A4-8BFB-CF131DFE56A9.jpg", name: "IMG_0002.JPG", type: "image/jpeg"}