Fix code and fix link to code.

This commit is contained in:
steveperry-53
2017-01-11 14:31:32 -08:00
parent 5ab052ad89
commit 54519b72f9
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);