Skip to content

Commit

Permalink
copy server.js from solutions
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Sparing authored Sep 16, 2021
1 parent 1d1faf1 commit 1251a5b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions notebooks/docker_and_kubernetes/labs/src/server.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
var http = require('http');
var handleRequest = function(request, response) {
response.writeHead(200);
response.end("Hello World!\n");
}
var www = http.createServer(handleRequest);
www.listen(8000);

0 comments on commit 1251a5b

Please sign in to comment.