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
324 B

11 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
  1. #!/usr/bin/env node
  2. 'use strict'
  3. const LocalWebServer = require('../')
  4. const ws = new LocalWebServer()
  5. ws.addCors()
  6. .addJson()
  7. .addRewrite()
  8. .addBodyParser()
  9. .addBlacklist()
  10. .addCache()
  11. .addMimeType()
  12. .addCompression()
  13. .addLogging()
  14. .addMockResponses()
  15. .addSpa()
  16. .addStatic()
  17. .addIndex()
  18. .start()