davidfowl / signalr-ports

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gives me CORS error

eshanCV opened this issue · comments

Hi Team,

I'm trying to run my client app on a different port and I have set the origin patterns using AllowOriginPatterns method on the server side with the * and http://localhost:3000/ values (almost every possible way with the URL).

But when I reload the client app "http://localhost:8080/chat/negotiate?negotiateVersion=1" API call gets failed with the CORS error.

Can you please let me know whether I missed anything? Do I need to use "InsecureSkipVerify"?

image
my server-side code