Fix code and fix link to code.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user