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:
parent
1c7fbe09b6
commit
85b58e2bf7
1 changed files with 1 additions and 3 deletions
4
ui.js
4
ui.js
|
@ -1,9 +1,6 @@
|
||||||
const fs = require("fs");
|
const fs = require("fs");
|
||||||
const express = require("express");
|
const express = require("express");
|
||||||
const jsdom = require("jsdom").JSDOM;
|
const jsdom = require("jsdom").JSDOM;
|
||||||
const options = {
|
|
||||||
resources: "usable"
|
|
||||||
};
|
|
||||||
const { updateHTML } = require("./populate");
|
const { updateHTML } = require("./populate");
|
||||||
const { populateCSS, populateConfig } = require("./build");
|
const { populateCSS, populateConfig } = require("./build");
|
||||||
const { updateCommand } = require("./update");
|
const { updateCommand } = require("./update");
|
||||||
|
@ -26,6 +23,7 @@ app.use(
|
||||||
const port = 3000;
|
const port = 3000;
|
||||||
|
|
||||||
global.DOMParser = new jsdom().window.DOMParser;
|
global.DOMParser = new jsdom().window.DOMParser;
|
||||||
|
const { outDir } = require("./utils");
|
||||||
|
|
||||||
function uiCommand() {
|
function uiCommand() {
|
||||||
app.get("/", (req, res) => {
|
app.get("/", (req, res) => {
|
||||||
|
|
Loading…
Reference in a new issue