aboutsummaryrefslogtreecommitdiff
path: root/src/server/websocket.ts
diff options
context:
space:
mode:
authorgeireann <>2022-03-17 15:47:22 -0400
committergeireann <>2022-03-17 15:47:22 -0400
commit73ba1a0395167ab5949f71d0c82fa7188d37ab5c (patch)
tree101251328b31c1532595e33bbde389157c69f868 /src/server/websocket.ts
parent5a385e46937a2f79d557b4ee929e78ba78aca8bf (diff)
removed buxton importer stuff. removed libxmljs needed by buxtonimporter which was breaking npm install
Diffstat (limited to 'src/server/websocket.ts')
-rw-r--r--src/server/websocket.ts7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/server/websocket.ts b/src/server/websocket.ts
index 0c79c1bbb..1b7f5919f 100644
--- a/src/server/websocket.ts
+++ b/src/server/websocket.ts
@@ -4,7 +4,6 @@ import { createServer, Server } from "https";
import { networkInterfaces } from "os";
import * as sio from 'socket.io';
import { Socket } from "socket.io";
-import executeImport from "../scraping/buxton/final/BuxtonImporter";
import { Utils } from "../Utils";
import { logPort } from './ActionUtilities';
import { timeMap } from "./ApiManagers/UserManager";
@@ -125,12 +124,6 @@ export namespace WebSocket {
* as an emitter and a terminator the functions that simply broadcast a result
* or indicate termination to the client via the web socket
*/
- Utils.AddServerHandler(socket, MessageStore.BeginBuxtonImport, () => {
- executeImport(
- deviceOrError => Utils.Emit(socket, MessageStore.BuxtonDocumentResult, deviceOrError),
- results => Utils.Emit(socket, MessageStore.BuxtonImportComplete, results)
- );
- });
disconnect = () => {
socket.broadcast.emit("connection_terminated", Date.now());