Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/MagicMirrorOrg/MagicMirror
/ setExpressApp
Method
setExpressApp
js/node_helper.js:90–94 ·
view source on GitHub ↗
(app)
Source
from the content-addressed store, hash-verified
88
* argument app Express app - The Express app object.
89
*/
90
setExpressApp (app) {
91
this.expressApp = app;
92
93
app.use(`/${this.name}`, express.static(`${this.path}/public`));
94
}
95
96
/*
97
* setSocketIO(io)
Callers
1
App
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected