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

8 years ago
8 years ago
6 years ago
  1. const Lws = require('lws')
  2. /**
  3. * @module local-web-server
  4. */
  5. /**
  6. * @alias module:local-web-server
  7. */
  8. class LocalWebServer extends Lws {
  9. _getDefaultConfig () {
  10. return Object.assign(super._getDefaultConfig(), {
  11. moduleDir: [ '.', __dirname ],
  12. stack: require('./lib/default-stack')
  13. })
  14. }
  15. }
  16. module.exports = LocalWebServer