feat: add docsify-updated, close #158
This commit is contained in:
parent
ca0d6182b9
commit
d2be5aecf8
11 changed files with 95 additions and 13 deletions
2
app.js
2
app.js
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue