We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b04eae commit fab4f11Copy full SHA for fab4f11
src/main.js
@@ -1,6 +1,7 @@
1
var http = require('http');
2
+process.env.C9_PORT = process.env.C9_PORT || 9000
3
http.createServer(function (req, res) {
4
res.writeHead(200, {'Content-Type': 'text/plain'});
5
res.end('Chat.js Server ready for interaction\n');
6
}).listen(process.env.C9_PORT, "0.0.0.0");
-console.log('Server running at http://127.0.0.1:9000/');
7
+console.log('Server running at http://127.0.0.1:9000/');
0 commit comments