fix websocket declaration
This commit is contained in:
parent
be34b8381c
commit
3be7023792
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,6 @@ let ai = new portAudio.AudioIO({
|
|||
});
|
||||
|
||||
import WebSocket from "ws";
|
||||
const ws = new WebSocket("ws://localhost:8080");
|
||||
|
||||
// Keep a global reference of the window object, if you don't, the window will
|
||||
// be closed automatically when the JavaScript object is garbage collected.
|
||||
|
|
@ -62,6 +61,7 @@ function createWindow() {
|
|||
|
||||
win.webContents.on('did-finish-load', () => {
|
||||
|
||||
const ws = new WebSocket("ws://localhost:8080");
|
||||
ws.on("open", function open() {
|
||||
// ws.send("hernandeze2@xavier.edu");
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue