mirror of
https://github.com/nasa/openmct.git
synced 2025-06-06 01:11:41 +00:00
[Example] Work around JSLint
JSLint doesn't like Express's use of static (a reserved word) as a method name, so change the way it's accessed. WTD-1199.
This commit is contained in:
parent
450bc059e4
commit
5f64e499f4
2
app.js
2
app.js
@ -55,7 +55,7 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Expose everything else as static files
|
// Expose everything else as static files
|
||||||
app.use(express.static('.'));
|
app.use(express['static']('.'));
|
||||||
|
|
||||||
// Finally, open the HTTP server
|
// Finally, open the HTTP server
|
||||||
app.listen(options.port);
|
app.listen(options.port);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user