The 'Access-Control-Allow-Origin' header has a value 'http://localhost:4200' that is not equal to the supplied origin

前端 未结 7 2521
清酒与你
清酒与你 2020-12-20 12:33

(continuation of error message in title) \" Origin \'http://127.0.0.1:4200\' is therefore not allowed access.\"

I am unable to run the same Angular 5 site on two dif

7条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-20 13:14

    You may have installed HTTPS Everywhere extension. Make sure you Disable HTTPS Everywhere on Localhost. That's what was causing me this problem.

提交回复
热议问题