From 73ba1a0395167ab5949f71d0c82fa7188d37ab5c Mon Sep 17 00:00:00 2001 From: geireann <> Date: Thu, 17 Mar 2022 15:47:22 -0400 Subject: removed buxton importer stuff. removed libxmljs needed by buxtonimporter which was breaking npm install --- src/server/websocket.ts | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/server/websocket.ts') 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()); -- cgit v1.2.3-70-g09d2