From e9188916c4fa3c93ac6564fdda713de9c12c5886 Mon Sep 17 00:00:00 2001 From: buzzcode2007 <73412182+buzz-lightsnack-2007@users.noreply.github.com> Date: Thu, 20 Mar 2025 01:06:54 +0000 Subject: [PATCH] fix: Static resources availability --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index e879953..b7537aa 100644 --- a/index.js +++ b/index.js @@ -35,7 +35,7 @@ class WebServer { /* Configure the default responses for the web server. */ #setDefaults() { // http://expressjs.com/en/starter/static-files.html - app.use(WebServer.paths['assets'], express.static(__dirname + WebServer.paths['assets'])); + app.use(express.static(__dirname + WebServer.paths['assets'])); // http://expressjs.com/en/starter/basic-routing.html app.get("/", function (REQUEST, RESPONSE) {