first commit
This commit is contained in:
commit
44ac51b9c2
20 changed files with 331 additions and 0 deletions
8
test/server.js
Normal file
8
test/server.js
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
const server = require('http').createServer()
|
||||
const buffet = require('buffet')({ root: './test' })
|
||||
|
||||
server.on('request', buffet)
|
||||
|
||||
server.listen(6677, function () {
|
||||
console.log('Ready! Listening on http://localhost:6677')
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue