Removing serve-static direct dependency

This commit is contained in:
Mathew Kurian 2014-12-22 02:14:46 -06:00
parent b4f5bb42e0
commit a2cb9978e3
2 changed files with 2 additions and 4 deletions

View file

@ -4,7 +4,6 @@
'use strict';
var express = require('express'),
serveStatic = require('serve-static'),
path = require('path'),
fs = require('fs');
@ -44,7 +43,7 @@
//Static files
webPanel.use('/', serveStatic(path.join(__dirname, '..', 'static')));
webPanel.use('/', express.static(path.join(__dirname, '..', 'static')));
//API

View file

@ -41,8 +41,7 @@
"colors": "^1.0.0",
"express": "^4.7.2",
"mkdirp": "^0.5.0",
"moment": "^2.8.3",
"serve-static": "^1.7.1"
"moment": "^2.8.3"
},
"readmeFilename": "README.md"
}