AspNetCore.SignalR 2.1 and CORS

前端 未结 6 1417
梦谈多话
梦谈多话 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:05

    You have to upgrade your package to @aspnet/signalr when upgrading to preview1:

    NOTE: Previous previews of the SignalR client library for JavaScript were named @aspnet/signalr-client. This has been deprecated as of Preview 1.

    source: Github readme

提交回复
热议问题