How to fix the “pending” status in Chrome Developer Window?

前端 未结 5 1697
旧时难觅i
旧时难觅i 2021-02-19 04:30

When I try to include social media scripts into my page, I get the \"pending\" status in Chrome on some computers (not all of them):

5条回答
  •  清酒与你
    2021-02-19 05:31

    I was using AngularJS as a front-end framework for my app, and somehow $httpProvider.defaults.withCredentials = true; made all my POST requests pending. After I removed this line, everything run instantly.

提交回复
热议问题