blob: e21fa499a6b88f3839fac613a0bce9566b0ae450 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import React from "react"
import { render } from 'react-dom'
import $ from "jquery"
import Connection from "./connection"
import {app} from "./components/proxyapp.js"
import { EventLogActions } from "./actions.js"
$(function () {
window.ws = new Connection("/updates");
window.onerror = function (msg) {
EventLogActions.add_event(msg);
};
render(app, document.getElementById("mitmproxy"));
});
|