这与EventSource将URL从HTTP更改为HTTPS有关。const url = 'http://localhost:8080'; // <-- using HTTP not HTTPS这将导致浏览器引发此错误我得到了以下信息:
Mixed Content: The page at 'https://...' was loaded over HTTPS, but requested an
我的事件源如下所示:public sealed class MinimalEventSource: EventSource public static MinimalEventSource Log = new MinimalEventSource();
[Event(1,但是缺少一些好的例子,如何安装/注册清单定义的EventSource。
我已经开始使用微软EventSource库1.0.4-beta ()public sealed class EventSourceLogger: EventSource public static EventSourceLogger Log = new EventSourceLogger();
public static