fix: Static resources availability
This commit is contained in:
parent
cfdda0402f
commit
e9188916c4
1 changed files with 1 additions and 1 deletions
2
index.js
2
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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue