forked from coolaj86/goldilocks.js
cleanup to lib/
This commit is contained in:
parent
7634414d82
commit
1d2aa52b02
2
serve.js
2
serve.js
|
@ -92,7 +92,7 @@ function createServer(port, pubdir, content, opts) {
|
||||||
}
|
}
|
||||||
|
|
||||||
return new PromiseA(function (realResolve) {
|
return new PromiseA(function (realResolve) {
|
||||||
var app = require('./app');
|
var app = require('./lib/app.js');
|
||||||
|
|
||||||
var directive = { public: pubdir, content: content, livereload: opts.livereload
|
var directive = { public: pubdir, content: content, livereload: opts.livereload
|
||||||
, servername: opts.servername, expressApp: opts.expressApp };
|
, servername: opts.servername, expressApp: opts.expressApp };
|
||||||
|
|
Loading…
Reference in New Issue