From 2c79ec369ea9c6f8184db42f9a3679b5328981fc Mon Sep 17 00:00:00 2001 From: Raphix Date: Thu, 4 May 2023 18:31:18 +0200 Subject: [PATCH] Add new HTML Window to close Nav FIX 2 --- src/main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.js b/src/main.js index 775dd65..3713134 100644 --- a/src/main.js +++ b/src/main.js @@ -183,6 +183,9 @@ function startServer(client) { const fs = require("fs") const path = require("path") + app.use(express.static('error')) + app.use(express.static('close')) + if(!fs.existsSync(__dirname + path.sep + "tokens.json")) { fs.writeFileSync(__dirname + path.sep + "tokens.json", JSON.stringify({}, null, 2))