diff options
Diffstat (limited to 'app.js')
-rwxr-xr-x | app.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4,11 +4,12 @@ | |||
4 | 4 | ||
5 | var express = require('express'), | 5 | var express = require('express'), |
6 | morgan = require('morgan'), | 6 | morgan = require('morgan'), |
7 | path = require('path'), | ||
7 | compression = require('compression'), | 8 | compression = require('compression'), |
8 | bodyParser = require('body-parser'), | 9 | bodyParser = require('body-parser'), |
9 | lastMile = require('connect-lastmile'), | 10 | lastMile = require('connect-lastmile'), |
10 | multipart = require('./src/multipart'), | 11 | multipart = require('./src/multipart'), |
11 | files = require('./src/files.js'); | 12 | files = require('./src/files.js')(path.resolve(__dirname, 'files')); |
12 | 13 | ||
13 | var app = express(); | 14 | var app = express(); |
14 | var router = new express.Router(); | 15 | var router = new express.Router(); |