SignalR: /signalr/abort throws error

2019-04-07 23:57发布

问题:

Refused to execute script from '.../signalr/abort?transport=webSockets&clientProtocol=1.5&callback=jQuery32109752453231046265_1507885522267&_=1507885522271' because its MIME type ('') is not executable, and strict MIME type checking is enabled.

A part of url was removed for clarity.

I have the last stable version of Microsoft.Owin.Host.SystemWeb (3.1.0) and jquery.signalR-2.2.2.js. I'm using CORS.

/signalr/start is working just fine.

Any ideas?