Merge pull request #2206 from steveperry-53/hello-mini

Fix code and fix link to code.
This commit is contained in:
Steve Perry
2017-01-17 17:01:18 -08:00
committed by GitHub
2 changed files with 3 additions and 1 deletions
@@ -99,7 +99,7 @@ kubectl cluster-info
The next step is to write the application. Save this code in a folder named `hellonode`
with the filename `server.js`:
{% include code.html language="js" file="server.js" ghlink="docs/tutorials/stateless-application/server.js" %}
{% include code.html language="js" file="server.js" ghlink="/docs/tutorials/stateless-application/server.js" %}
Run your application:
@@ -1,3 +1,5 @@
var http = require('http');
var handleRequest = function(request, response) {
console.log('Received request for URL: ' + request.url);
response.writeHead(200);