AJAX call following 302 redirect sets origin to null

后端 未结 2 869
借酒劲吻你
借酒劲吻你 2020-12-11 00:40

I\'m doing an AJAX call from domain A to domain B.

My domain B checks if A is in the list of allowed domains and sets the Access-Control-allow-Origin to

2条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-11 00:59

    I set Access-Control-Allow-Origin: null on domain A and that worked.

提交回复
热议问题