Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 256 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 256 Bytes

yoa

create http server

const http = require('http')

const server = http.createServer((req, res) => {
    res.writeHead(200)
    res.end('hello yoa2')
})

server.listen(9092, () => {
    console.log('server start on port 9092')
})