AspNetCore.SignalR 2.1 and CORS

前端 未结 6 1423
梦谈多话
梦谈多话 2020-12-29 06:49

I\'m migrating our SignalR-Service to the new AspNetCore.SignalR (2.1 preview) and now I get problems with CORS. I will never access the service from the same origin, so I n

6条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-29 07:01

    I had the same issue, I use reactjs for clientside. Changing the version from using "@aspnet/signalr-client" into "@aspnet/signalr" solved my problem

提交回复
热议问题