Files
Testing/html5-chat/nodeMulti/node_modules/@pm2/agent/test.js

9 lines
176 B
JavaScript
Raw Normal View History

2026-11-17 16:15:01 -05:00
const http = require('http')
const server = http.createServer((req, res) => {
res.writeHead(500)
res.end(JSON.stringify({msg: 'Database error.'}))
})
server.listen(1337)