From 85b58e2bf750c6188c57e6f1a470971d070de246 Mon Sep 17 00:00:00 2001 From: Kaustubh Ladiya Date: Sun, 12 Jan 2020 16:33:25 +0530 Subject: [PATCH] Fix Update option in UI --- ui.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ui.js b/ui.js index 525e809..9a7ad4e 100644 --- a/ui.js +++ b/ui.js @@ -1,9 +1,6 @@ const fs = require("fs"); const express = require("express"); const jsdom = require("jsdom").JSDOM; -const options = { - resources: "usable" -}; const { updateHTML } = require("./populate"); const { populateCSS, populateConfig } = require("./build"); const { updateCommand } = require("./update"); @@ -26,6 +23,7 @@ app.use( const port = 3000; global.DOMParser = new jsdom().window.DOMParser; +const { outDir } = require("./utils"); function uiCommand() { app.get("/", (req, res) => {