You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
350 B
19 lines
350 B
const Lws = require('lws')
|
|
|
|
/**
|
|
* @module local-web-server
|
|
*/
|
|
|
|
/**
|
|
* @alias module:local-web-server
|
|
*/
|
|
class LocalWebServer extends Lws {
|
|
_getDefaultConfig () {
|
|
return Object.assign(super._getDefaultConfig(), {
|
|
moduleDir: [ '.', __dirname ],
|
|
stack: require('./lib/default-stack')
|
|
})
|
|
}
|
|
}
|
|
|
|
module.exports = LocalWebServer
|