loopback/lib/middleware/static.js

12 lines
401 B
JavaScript
Raw Normal View History

2014-11-03 08:20:54 +00:00
/**
* Serve static assets of a LoopBack application.
*
* @param {string} root The root directory from which the static assets are to
* be served.
* @param {object} options Refer to
* [express documentation](http://expressjs.com/4x/api.html#express.static)
* for the full list of available options.
* @header loopback.static(root, [options])
*/
module.exports = require('express').static;