|
|
@ -45,12 +45,12 @@ class LocalWebServer extends Lws { |
|
|
|
const usage = require('lws/lib/usage') |
|
|
|
usage.defaults |
|
|
|
.set('an', 'ws') |
|
|
|
.set('av', require('../package').version) |
|
|
|
.set('av', require('./package').version) |
|
|
|
.set('cd4', 'api') |
|
|
|
options = Object.assign({ |
|
|
|
moduleDir: path.resolve(__dirname, `../node_modules`), |
|
|
|
moduleDir: path.resolve(__dirname, `./node_modules`), |
|
|
|
modulePrefix: 'lws-', |
|
|
|
stack: require('./default-stack') |
|
|
|
stack: require('./lib/default-stack') |
|
|
|
}, options) |
|
|
|
return super.listen(options) |
|
|
|
|