2018-01-03 04:05:53 +00:00
|
|
|
// Copyright IBM Corp. 2014,2018. All Rights Reserved.
|
2016-05-03 22:50:21 +00:00
|
|
|
// Node module: loopback
|
|
|
|
// This file is licensed under the MIT License.
|
|
|
|
// License text available at https://opensource.org/licenses/MIT
|
|
|
|
|
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])
|
|
|
|
*/
|
2016-11-15 21:46:23 +00:00
|
|
|
'use strict';
|
2014-11-03 08:20:54 +00:00
|
|
|
module.exports = require('express').static;
|