CI_Test/index.js

13 lines
237 B
JavaScript

const {createServer} = require("http")
const server = createServer((req, res)=>{
res.writeHead(200)
res.write("Hello, World!")
res.end()
})
setTimeout(()=>{
process.exit()
}, 60000)
server.listen(process.argv[2]||3000)