This commit is contained in:
Lloyd Brookes
2016-06-16 23:00:07 +01:00
parent 789b82160d
commit 9c3db53d27
9 changed files with 309 additions and 252 deletions

View File

@ -3,8 +3,7 @@
const LocalWebServer = require('../')
const ws = new LocalWebServer()
ws.middleware
.addCors()
ws.addCors()
.addJson()
.addRewrite()
.addBodyParser()
@ -17,4 +16,4 @@ ws.middleware
.addSpa()
.addStatic()
.addIndex()
ws.listen()
.start()