iOS11 causing CORS Issues in all mobile browsers

后端 未结 5 451
小鲜肉
小鲜肉 2020-12-05 19:40

We were testing our website on iOS devices with iOS11, and noticed that it was breaking, as the browser would not accept responses from our API. Using the remote debugger, w

5条回答
  •  隐瞒了意图╮
    2020-12-05 20:05

    I faced the same issue.

    The problem in my case was that nginx was not letting the file upload go because the body was too large and nginx did not let that request pass to the application and just killed the connection. I changed the client_body_max_size 10M and it just worked. Look into your nginx error log!

    Took me about whole day to figure out.

提交回复
热议问题