mirror of
https://github.com/mathew-kurian/Scribe.js
synced 2025-04-24 14:25:00 +00:00
Removing serve-static direct dependency
This commit is contained in:
parent
b4f5bb42e0
commit
a2cb9978e3
2 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue