Firstly thanks for sharing Angular series on Building a blog and Chatbot
Its been great learning experience following along in Youtube.
I have setup the project in my laptop. Blog UI is working smoothly but am having trouble in communicating ( Login and Chat)
- HTTP Rest endpoint backend for login
- HTTP request to Diagflow
In both the cases above, Chrome console returns unauthorized error
Failed to load https://api.dialogflow.com/v1/query: Response to preflight request doesn't pass access control check: The 'Access-Control-Allow-Origin' header contains multiple values 'http://evil.com/, *', but only one is allowed. Origin 'http://localhost:4200' is therefore not allowed access.
Header captured in Network section
Seek community’s help to guide me through this