diff options
Diffstat (limited to 'vnfmarket/src/main/webapp/vnfmarket/node_modules/connect/lib/middleware/favicon.js')
-rw-r--r-- | vnfmarket/src/main/webapp/vnfmarket/node_modules/connect/lib/middleware/favicon.js | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/vnfmarket/src/main/webapp/vnfmarket/node_modules/connect/lib/middleware/favicon.js b/vnfmarket/src/main/webapp/vnfmarket/node_modules/connect/lib/middleware/favicon.js deleted file mode 100644 index 847077c7..00000000 --- a/vnfmarket/src/main/webapp/vnfmarket/node_modules/connect/lib/middleware/favicon.js +++ /dev/null @@ -1,34 +0,0 @@ -/*! - * Connect - favicon - * Copyright(c) 2010 Sencha Inc. - * Copyright(c) 2011 TJ Holowaychuk - * MIT Licensed - */ - -/** - * Module dependencies. - */ - -var path = require('path'); -var serveFavicon = require('serve-favicon'); - -var defaultPath = path.join(__dirname, '..', 'public', 'favicon.ico'); - -/** - * Favicon: - * - * By default serves the connect favicon, or the favicon - * located by the given `path`. - * - * See [serve-favicon](https://github.com/expressjs/serve-favicon) - * - * @param {String|Buffer} path - * @param {Object} options - * @return {Function} - * @api public - */ - -module.exports = function favicon(path, options){ - path = path || defaultPath; - return serveFavicon(path, options); -}; |