feat: add docsify-updated, close #158

This commit is contained in:
qingwei.li 2017-05-16 23:03:22 +08:00
commit d2be5aecf8
No known key found for this signature in database
GPG key ID: B6DDC2F7AE80B2F4
11 changed files with 95 additions and 13 deletions

2
app.js
View file

@ -4,7 +4,7 @@ var fs = require('fs')
http.createServer(function (req, res) {
serveStatic('.')(req, res, function () {
res.writeHead(404, { 'Content-Type': 'text/html' })
res.writeHead(200, { 'Content-Type': 'text/html' })
res.end(fs.readFileSync('dev.html'))
})
}).listen(3000, '0.0.0.0')