18 lines
380 B
HTML
18 lines
380 B
HTML
|
<html>
|
||
|
<body>
|
||
|
<script src='http://127.0.0.1:62342/jquery.js'></script>
|
||
|
<script type="text/javascript" charset="utf-8">
|
||
|
$.ajax({
|
||
|
type: "GET",
|
||
|
url: "http://127.0.0.1:62342",
|
||
|
headers: {
|
||
|
"Authorization": "Basic " + btoa("test:test")
|
||
|
},
|
||
|
success: function (result){
|
||
|
require('ipc').send('console-message', result);
|
||
|
}
|
||
|
});
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|