1
0
Fork 0
mirror of https://github.com/dilllxd/gitfolio.git synced 2024-08-14 22:28:09 +00:00

Fix Update option in UI

This commit is contained in:
Kaustubh Ladiya 2020-01-12 16:33:25 +05:30
parent 1c7fbe09b6
commit 85b58e2bf7
No known key found for this signature in database
GPG key ID: A77FFE5465BD4E7D

4
ui.js
View file

@ -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) => {