fix: Static resources availability

This commit is contained in:
buzzcode2007 2025-03-20 01:06:54 +00:00
parent cfdda0402f
commit e9188916c4

View file

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